Repository navigation
[8.19] (backport #17451) Update .NET operator image version and ensure EDOT is used - #17852
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) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Dependency Update AnalysisSummary: This PR updates the EDOT .NET auto-instrumentation image from
|
| Check | Result |
|---|---|
| Breaking changes | ✅ None found in upstream release notes for consumed config surface |
| Testable in PR |
Changelog highlights (1.6.1 → 1.7.0)
From elastic/elastic-otel-dotnet release 1.7.0:
- Features: OpAMP remote-config log-level subscriber handling; upstream package updates (SDK
1.20.1, instrumentation1.18.0). - Fixes: metric instrumentation env handling, diagnostics secret redaction, logger/bootstrap lifecycle fixes, timer/options cleanups.
- Security/CVE review: no CVE/GHSA IDs were announced in release notes; one security-relevant hardening item is header-secret redaction in diagnostics, which is risk-reducing.
Usage in this repository
deploy/helm/edot-collector/kube-stack/values.yaml:652-656- Updates .NET auto-instrumentation image tag and sets
OTEL_DOTNET_AUTO_PLUGINS.
- Updates .NET auto-instrumentation image tag and sets
deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml:632-636- Same update for managed OTLP profile.
- Update automation mapping confirms this pin source is
elastic/elastic-otel-dotnet:.ci/updatecli/updatecli-bump-edot.yml:31-43,96-103
Compatibility assessment
- No upstream breaking API/config changes were identified for this usage pattern (image tag + plugin env injection).
- The added
OTEL_DOTNET_AUTO_PLUGINSintentionally changes runtime behavior by ensuring EDOT plugin activation; this increases production-surface impact versus a pure patch bump. - Net effect: compatible with current manifest shape, but behavior change should be validated in a deployment environment.
Labels Applied
No labels applied (did not meet merge-ready gate because this production-impacting dependency change is not directly PR-testable as a workflow dependency).
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 |
Dependency Update AnalysisSummary: This PR updates the EDOT .NET auto-instrumentation image from elastic-otel-dotnet
|
| Check | Result |
|---|---|
| Breaking changes | ✅ None found in upstream 1.7.0 notes for consumed behavior |
| Testable in PR |
Changelog highlights (1.6.1 → 1.7.0)
- Upstream release notes:
elastic/elastic-otel-dotnetrelease1.7.0(exact tag match). - Features: OpAMP remote config log-level subscriber handling; upstream SDK/instrumentation package updates.
- Fixes: metrics instrumentation env handling, secret redaction in diagnostics, logger lifecycle/concurrency fixes.
- Security/CVE assessment: no CVE or GHSA entries called out in release notes for
1.7.0; changes appear hardening/bug-fix oriented, with no newly introduced security-sensitive configuration in this PR.
Usage in this repository
deploy/helm/edot-collector/kube-stack/values.yaml:652updatesinstrumentation.dotnet.imagetodocker.elastic.co/observability/elastic-otel-dotnet:1.7.0.deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml:632updates the same image pin.deploy/helm/edot-collector/kube-stack/values.yaml:655andmanaged_otlp/values.yaml:635setOTEL_DOTNET_AUTO_PLUGINSto load the EDOT plugin..ci/updatecli/updatecli-bump-edot.yml:103confirms this image pin is managed as a versioned dependency target.
Compatibility assessment
- The repo consumes this dependency as a Helm value (image identifier + env var), not as a code-level API.
- The update is a minor version bump and keeps the same image registry/name.
- Added env var aligns with the intended EDOT plugin-loading behavior and does not conflict with existing value schema.
- No evidence of removed/renamed consumed interfaces in this repo.
Labels Applied
No labels applied (oblt-aw/ai/merge-ready withheld: moderate risk from production runtime behavior change that is not PR-runtime-testable here).
What is this? | From workflow: Observability Agentic Workflow — Pull Request
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
💔 Build Failed
Failed CI StepsHistory
|
TL;DRBuildkite https://buildkite.com/elastic/elastic-agent/builds/49651 failed in Remediation
Investigation detailsRoot CauseThe step fails in the plugin pre-command hook, not in
This aligns with an infrastructure/network failure category, not a regression from this PR’s Helm-value changes. Evidence
Verification
Follow-up
What is this? | From workflow: Observability Agentic Workflow — Status Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |
|
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 ↓. |
🛑 Queue command cancelledTick the box to add this pull request to the merge queue (same as
|
🛑 The queue request has been cancelled: new commits were pushedDetails@stevejgordon pushed to this pull request after |
Dependency Update AnalysisSummary: Dependency 1:
|
| Check | Result |
|---|---|
| Breaking changes | ✅ None found in local usage or upstream 1.7.0 release notes |
| Testable in PR | ✅ Yes — PRs touching deploy/** trigger extended integration pipelines (.buildkite/pipeline.yml) |
Changelog highlights (1.6.1 → 1.7.0)
From elastic/elastic-otel-dotnet release 1.7.0:
- Feature: OpAMP remote-config log-level handling.
- Dependency refresh: upstream OTel SDK/instrumentation versions updated.
- Bug fixes include metrics instrumentation flag handling, logger lifecycle/concurrency fixes, and diagnostics secret-redaction hardening.
- No CVE/GHSA entries or breaking-change notes were listed.
- Compare link:
https://github.com/elastic/elastic-otel-dotnet/compare/1.6.1...1.7.0.
Usage in this repository
- Updated pins:
deploy/helm/edot-collector/kube-stack/values.yaml(dotnet image tag +OTEL_DOTNET_AUTO_PLUGINS)deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml(same)
- These values files are consumed by Kubernetes integration coverage in
testing/integration/k8s/otel_helm_test.go. - Image pin automation source is documented in
.ci/updatecli/updatecli-bump-edot.yml.
Compatibility assessment
Current repo usage is compatible: this PR only updates the .NET auto-instrumentation image tag and adds the plugin env var required for EDOT behavior under the operator. No removed/renamed APIs, workflow inputs, or action pins are involved.
Security posture is neutral-to-improved based on upstream fixes (notably diagnostics secret redaction) with no new exposed surface in this repo beyond enabling expected EDOT plugin behavior.
Labels Applied
oblt-aw/ai/merge-ready— low-to-moderate risk, no breaking changes found for repo usage, and PR-context integration validation path exists.
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:
|
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).