Repository navigation
[9.5] (backport #17451) Update .NET operator image version and ensure EDOT is used - #17850
Conversation
(cherry picked from commit 9badd67) # Conflicts: # deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml # deploy/helm/edot-collector/kube-stack/values.yaml
|
Cherry-pick of 9badd67 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
|
Warning Threat Detection Engine Failure — The analysis engine could not complete. This is a tooling failure, not a security finding. What happenedThe threat detection engine failed to produce results. Review the workflow run logs for details. Dependency Update AnalysisSummary: This PR updates the EDOT .NET auto-instrumentation image from Dependency 1:
|
| Check | Result |
|---|---|
| Breaking changes | |
| Testable in PR |
Changelog highlights (1.6.0 → 1.7.0)
From elastic/elastic-otel-dotnet release 1.7.0:
- Features: OpAMP log-level subscriber behavior; upstream package bumps (SDK
1.20.1, instrumentation1.18.0). - Fixes: metrics instrumentation flag handling, header-secret redaction in diagnostics, logger/timer/ownership stability fixes.
- Security/CVE signal: no explicit CVE/GHSA IDs listed in release notes; one security-relevant hardening item is secret redaction in diagnostics.
Usage in this repository
Direct image pin usage:
deploy/helm/edot-collector/kube-stack/values.yaml:685-690deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml:680-685
These values files are consumed by k8s integration coverage, e.g.:
testing/integration/k8s/otel_helm_test.go:64,164,231(deploys using these values files)
Compatibility assessment
The intended update (image bump + OTEL_DOTNET_AUTO_PLUGINS env) appears compatible with current repo usage (image reference + values consumption).
However, both changed values files currently contain unresolved merge-conflict markers:
deploy/helm/edot-collector/kube-stack/values.yaml:684-692deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml:679-687
That is a breaking config state and can invalidate YAML/Helm processing for these deployment profiles.
Labels Applied
No labels applied (oblt-aw/ai/merge-ready not applied due high-risk/breaking config state).
What is this? | From workflow: Observability Agentic Workflow — Pull Request
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
This comment has been minimized.
This comment has been minimized.
Dependency Update AnalysisSummary: This PR updates the EDOT .NET auto-instrumentation image from elastic-otel-dotnet
|
| Check | Result |
|---|---|
| Breaking changes | ✅ None found in consumed configuration surface |
| Testable in PR | workflow_dispatch / release (not pull_request) |
Changelog highlights (v1.6.0 → v1.7.0)
1.6.1: operator Dockerfile update.1.7.0highlights: upstream package updates (SDK1.20.1, instrumentation1.18.0), multiple bug fixes, including redaction of header secrets in diagnostics.- No CVE IDs/GHSA advisories were listed in the release notes reviewed.
- Security posture appears improved or unchanged for this repo usage (notably stronger secret redaction; no new privileged capability noted in release notes).
Usage in this repository
- Runtime values updated in:
deploy/helm/edot-collector/kube-stack/values.yamldeploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml
- Both files now pin
docker.elastic.co/observability/elastic-otel-dotnet:1.7.0and set:OTEL_DOTNET_AUTO_PLUGINS=Elastic.OpenTelemetry.AutoInstrumentationPlugin, Elastic.OpenTelemetry.AutoInstrumentation
- Update automation mapping exists in
.ci/updatecli/updatecli-bump-edot.yml.
Compatibility assessment
- Repo usage is image-pin/config only (no in-repo .NET API coupling to this component).
- The new plugin env var explicitly enables the EDOT plugin, matching the PR intent and reducing risk of defaulting to upstream-only behavior.
- No evidence of removed/renamed consumed interfaces in the chart values changed here.
- Residual risk remains from production runtime behavior change that is not exercised by PR-triggered workflows.
Labels Applied
No labels applied (risk assessed as moderate due production-impacting runtime change with limited PR-context testability).
What is this? | From workflow: Observability Agentic Workflow — Pull Request
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
|
@Mergifyio update |
✅ Branch has been successfully updated |
TL;DR
Remediation
Investigation detailsRoot CauseThe failing step is The PR head commit (
No PR commit in this backport touches the Evidence
Verification
Follow-up
What is this? | From workflow: Observability Agentic Workflow — Status Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |
Dependency Update AnalysisSummary: This PR updates the EDOT .NET auto-instrumentation image from elastic-otel-dotnet
|
| Check | Result |
|---|---|
| Breaking changes | ✅ None found in consumed configuration surface |
| Testable in PR | workflow_dispatch / release (and scheduled bump automation), so this runtime path is not directly exercised by PR triggers |
Changelog highlights (1.6.0 → 1.7.0)
From elastic/elastic-otel-dotnet releases:
1.6.1: operator Dockerfile update.1.7.0: bug fixes (including logger lifecycle/concurrency fixes), config handling fixes, and redaction of header secrets in diagnostics; upstream package updates (SDK/instrumentation versions).- No explicit breaking-change/deprecation notes in release entries.
- No explicit CVE/GHSA IDs in the release notes reviewed.
Security/CVE-focused assessment:
- The redaction fix reduces accidental secret exposure risk in diagnostics.
- No release-note evidence of newly introduced insecure defaults.
- This PR additionally enables the EDOT plugin explicitly via env var, which changes runtime behavior as intended; no new external permission scope is introduced in this diff.
Usage in this repository
Updated usage points:
deploy/helm/edot-collector/kube-stack/values.yaml:684-688deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml:679-683
Both set:
- image tag:
docker.elastic.co/observability/elastic-otel-dotnet:1.7.0 - env var:
OTEL_DOTNET_AUTO_PLUGINS=Elastic.OpenTelemetry.AutoInstrumentationPlugin, Elastic.OpenTelemetry.AutoInstrumentation
No other references to elastic-otel-dotnet were found in this repo.
Compatibility assessment
- The repository consumes this dependency as a Helm value (image tag + env config), not as a code-level API.
- Release notes do not indicate required config changes incompatible with the provided values.
- The main risk is operational: changed auto-instrumentation behavior for newly created pods, which is production-impacting and not fully validated by PR-triggered workflows.
Labels Applied
No labels applied (did not meet merge-ready gate due production-impacting runtime change with limited PR-context testability).
What is this? | From workflow: Observability Agentic Workflow — Pull Request
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
💛 Build succeeded, but was flaky
Failed CI Steps
History
|
|
This pull request has not been merged yet. Could you please review and merge it @{{ assignee | join(', @') }}? 🙏 |
|
Queue requested — the merge queue status continues in this comment ↓. |
🚫 Left the queue · pull request merged manually1 min in the queue, with no time running CI. So far
Reason Pull request #17850 has been merged manually at 78ba478 Hint You were too fast! Tick the box to put this pull request back in the merge queue (same as
Times in UTC · dashboard · how the merge queue works |
☑️ The pull request has been merged manuallyDetailsThe pull request has been merged manually at 78ba478 |
OTel instrumentation only enables the EDOT registrations through the plugin mechanism. This is currently missing so essentially runs without the EDOT features.
Related issues
N/A
Risk
I chose high as it changes a default but the impact is to fix a bug where the expected outcome is not occuring.
Rationale
The operator does not propagate the instrumentation image’s environment, leaving the EDOT .NET plugin unloaded. Update the image to 1.6.1 and explicitly configure OTEL_DOTNET_AUTO_PLUGINS in both kube-stack values variants.
Rollout and safety
N/A - Changes .NET auto-instrumentation defaults for newly created pods only. Fleet connectivity and agent lifecycle are unaffected. No persisted-format changes; previous chart values can be restored.
Testing
I had Opus 5.5 extend the existing Java test coverage to do the same for .NET so we can validate that this works effectively.
This is an automatic backport of pull request #17451 done by [Mergify](https://mergify.com).