Repository navigation
[9.6] (backport #17451) Update .NET operator image version and ensure EDOT is used - #17849
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.
Dependency Update AnalysisSummary: This PR updates the EDOT .NET auto-instrumentation image from elastic-otel-dotnet
|
| Check | Result |
|---|---|
| Breaking changes | ✅ None found in current repo usage |
| Testable in PR | workflow_dispatch/release only (.github/workflows/release-helm-charts.yml:4, .github/workflows/release-helm-charts-manual.yml:4) |
Changelog highlights (1.6.1 → 1.7.0)
From elastic/elastic-otel-dotnet release 1.7.0:
- Feature updates include upstream package bumps (SDK
1.20.1, instrumentation1.18.0). - Multiple bug fixes, including logger lifecycle/concurrency fixes.
- Security-relevant hardening: redaction of header secrets in configuration and env-var diagnostics.
- No CVE/GHSA IDs were listed in release notes.
- Compare link:
https://github.com/elastic/elastic-otel-dotnet/compare/1.6.1...1.7.0
Usage in this repository
- Runtime image pin updated in:
deploy/helm/edot-collector/kube-stack/values.yaml:697deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml:679
- This PR also adds:
OTEL_DOTNET_AUTO_PLUGINS=Elastic.OpenTelemetry.AutoInstrumentationPlugin, Elastic.OpenTelemetry.AutoInstrumentation- in both files (
values.yaml:700,managed_otlp/values.yaml:682) to ensure EDOT plugin loading.
- Automation source mapping for this dependency is defined in
.ci/updatecli/updatecli-bump-edot.yml:37-106.
Compatibility assessment
- The image bump is a minor version update and remains pinned to an immutable tag value in Helm values.
- Added plugin env var aligns behavior with EDOT-specific instrumentation expectations (intentional behavior correction, not API breakage).
- No repo-local API/interface usage was found that conflicts with
1.7.0release changes. - Residual risk is operational (runtime behavior in Kubernetes), not build-time dependency resolution.
Labels Applied
No labels applied (dependency is production-impacting and not directly PR-testable via repository Helm release workflows).
What is this? | From workflow: Observability Agentic Workflow — Pull Request
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
⏳ Build in-progress, with failures
Failed CI Steps
History
|
TL;DRThis failure looks environment/checkout related, not caused by this PR’s Helm changes. Remediation
Investigation detailsRoot Cause
PR evidence:
Related code references:
Evidence
Verification
Follow-up
What is this? | From workflow: Observability Agentic Workflow — Status 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 repo usage |
| Testable in PR | ✅ Yes — Buildkite Kubernetes tiers run for PRs and include deploy/helm/** changes (.buildkite/bk.integration.pipeline.yml lines ~1123, ~1186) |
Changelog highlights (1.6.1 → 1.7.0)
From elastic/elastic-otel-dotnet release 1.7.0:
- Feature updates include upstream package updates (SDK
1.20.1, instrumentation1.18.0) and OpAMP log-level handling improvements. - Bug fixes include honoring metrics instrumentation toggles, header-secret redaction in diagnostics, logger lifecycle/concurrency fixes, and safety timer/options fixes.
- No explicit CVE/GHSA entries were listed in the release notes.
CVE/security-focused assessment:
- Secret-redaction and logger/safety fixes reduce operational leakage/stability risk rather than adding attack surface.
- No release-note evidence of new insecure defaults or authn/authz regressions relevant to this repo’s usage.
Usage in this repository
Updated in:
deploy/helm/edot-collector/kube-stack/values.yaml:697deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml:679
Both now set:
image: docker.elastic.co/observability/elastic-otel-dotnet:1.7.0OTEL_DOTNET_AUTO_PLUGINS=Elastic.OpenTelemetry.AutoInstrumentationPlugin, Elastic.OpenTelemetry.AutoInstrumentation
These values files are exercised by k8s integration tests:
testing/integration/k8s/otel_helm_test.go:64,164,231
Compatibility assessment
- The repo consumes this dependency as an image tag in Helm values (not direct API calls), so Go/SDK source-level breakage does not apply here.
- The added plugin env var aligns with the stated operator behavior and ensures EDOT plugin loading explicitly.
- No incompatible interface/input changes were identified for current chart usage.
Labels Applied
oblt-aw/ai/merge-ready(applied): risk low-to-moderate, no breaking repo usage found, and PR-context Kubernetes validation coverage 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:
|
|
@swiatekm Do I need to do anything to request a review for each backport? |
|
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 manually2 min in the queue, with no time running CI. So far
Reason Pull request #17849 has been merged manually at ddb0323 Hint You were too fast! Merge conditions not met when it left the queue
Tick the box to put this pull request back in the merge queue (same as
4 merge conditions met
Times in UTC · dashboard · how the merge queue works |
☑️ The pull request has been merged manuallyDetailsThe pull request has been merged manually at ddb0323 |
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).