Repository navigation
[9.4] (backport #17451) Update .NET operator image version and ensure EDOT is used - #17851
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) |
Dependency Update AnalysisSummary: This PR updates the EDOT .NET auto-instrumentation image ( Dependency 1:
|
| Check | Result |
|---|---|
| Breaking changes | deploy/helm/edot-collector/kube-stack/values.yaml:658-666 and deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml:653-661) |
| Testable in PR |
Changelog highlights (1.6.1 → 1.7.0)
Source: elastic/elastic-otel-dotnet release 1.7.0.
- Features include OpAMP log-level handling improvements and upstream OpenTelemetry package bumps (SDK
1.20.1, instrumentation1.18.0). - Bug fixes include metrics-enable handling, secret redaction in diagnostics, logger lifecycle/concurrency fixes, and safety timer cleanup.
- No CVE/GHSA entries were listed in upstream release notes for this bump.
Security/CVE assessment for this repo usage:
- No explicit vulnerability advisory is referenced upstream.
- Secret-redaction and logger lifecycle fixes appear risk-reducing.
- Since this repo consumes the dependency as an image pin (not direct library APIs), exposure change is primarily operational behavior of auto-instrumentation.
Usage in this repository
Image pin is used in:
deploy/helm/edot-collector/kube-stack/values.yaml(instrumentation.dotnet.image)deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml(instrumentation.dotnet.image)
Related automation metadata:
.ci/updatecli/updatecli-bump-edot.ymlmapselastic/elastic-otel-dotnetto this image.
The update also adds OTEL_DOTNET_AUTO_PLUGINS in both values variants to ensure the EDOT plugin is loaded.
Compatibility assessment
- The image bump itself looks low-to-moderate risk based on upstream notes and current usage pattern (opaque image reference).
- However, the committed files currently include unresolved conflict markers (
<<<<<<<,=======,>>>>>>>) at the lines above, which makes these YAML values invalid and leaves both old/new image entries in conflict blocks. - This blocks safe merge/readiness until conflicts are resolved.
Labels Applied
No labels applied (oblt-aw/ai/merge-ready withheld because current PR content is not merge-ready due to unresolved conflicts).
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.
a84be48 to
fb8932f
Compare
Dependency Update AnalysisSummary: This PR updates the EDOT .NET auto-instrumentation image from elastic-otel-dotnet
|
| Check | Result |
|---|---|
| Breaking changes | ✅ None found in upstream release notes and no incompatible usage found in this repo |
Changelog highlights (1.6.1 → 1.7.0)
From elastic/elastic-otel-dotnet release 1.7.0:
- New features around OpAMP log-level handling and upstream package updates.
- Multiple bug fixes (metrics instrumentation flag handling, logger lifecycle/ownership fixes, safety timer, options equality).
- Security-relevant hardening: redaction of header secrets in configuration/env-var diagnostics.
- No CVEs/GHSAs explicitly listed; no documented breaking changes.
Usage in this repository
Updated in:
deploy/helm/edot-collector/kube-stack/values.yamldeploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml
Current usage sets:
instrumentation.dotnet.image: docker.elastic.co/observability/elastic-otel-dotnet:1.7.0OTEL_DOTNET_AUTO_PLUGINSenv var to load the Elastic plugin.
Additional references for update automation:
.ci/updatecli/updatecli-bump-edot.yml.ci/updatecli/README.md
Compatibility assessment
- The bump is within major version
1.xand keeps the same image family. - Repository usage is configuration-level (Helm values), not direct API calls.
- Added plugin env configuration aligns with intended EDOT behavior and does not conflict with other chart keys in the same block.
- No evidence of removed/renamed fields used by this repo.
Labels Applied
oblt-aw/ai/merge-ready— low-to-moderate risk, no usage-breaking changes identified, and change is contained to Helm image/config pins.
What is this? | From workflow: Observability Agentic Workflow — Pull Request
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
Automerge skippedAutomerge skipped this pull request because the changed files do not match any configured dependency collection. If this update should be automerged, ask a maintainer to add or adjust a collection, or merge the pull request manually. See Opt in or opt out for how to enable or disable Automerge collections on the Control Plane Dashboard. Collections currently enabled for automerge: Changed files considered:
|
|
@Mergifyio update |
✅ Branch has been successfully updated |
TL;DR
Remediation
Investigation detailsRoot CauseThis is an infrastructure/checkout consistency failure, not a code/test assertion failure in the PR changes.
No code file diffs were reported, only 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 Dependency:
|
| Check | Result |
|---|---|
| Breaking changes | ✅ None found in this repo’s usage |
| Testable in PR | ✅ Yes — static Helm values change in PR context (runtime effect occurs when deploying kube-stack) |
Changelog highlights (1.6.1 → 1.7.0)
From elastic/elastic-otel-dotnet release 1.7.0:
- Features: OpAMP remote-config log-level handling; upstream package bumps (SDK
1.20.1, instrumentation1.18.0). - Fixes: metrics instrumentation env handling, logger lifecycle/concurrency/safety fixes.
- Security-relevant fix: redaction of header secrets in configuration/environment diagnostics.
CVE/security assessment:
- No CVE/GHSA IDs were listed in the release notes.
- The secret-redaction fix reduces accidental credential exposure risk in diagnostics.
- No release-note evidence of newly introduced risky surfaces affecting this repo’s current usage pattern.
Usage in this repository
Direct usage of this image pin appears in:
deploy/helm/edot-collector/kube-stack/values.yamldeploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml
This PR updates the image tag and adds:
OTEL_DOTNET_AUTO_PLUGINS=Elastic.OpenTelemetry.AutoInstrumentationPlugin, Elastic.OpenTelemetry.AutoInstrumentation
No code-level API imports/calls to this dependency exist in the Go codebase; usage is Helm configuration for injected instrumentation images.
Compatibility assessment
- No repo-consumed API/input removals were identified for this usage model (image tag + env configuration).
- Added plugin env var aligns with intended EDOT plugin activation behavior for .NET auto-instrumentation.
- Scope is limited to kube-stack auto-instrumentation behavior for newly created instrumented pods.
Labels Applied
oblt-aw/ai/merge-ready(applied): low-to-moderate risk update, no breaking usage impact detected, and security direction is net-positive.
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 ↓. |
⏳ Waiting for queue conditionsQueue rule Queue rule
|
☑️ The pull request has been merged manuallyDetailsThe pull request has been merged manually at 46f7374 |
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).