Repository navigation
Update .NET operator image version and ensure EDOT is used - #17451
Conversation
|
This pull request does not have a backport label. Could you fix it @stevejgordon? 🙏
|
|
The dotnet version is updated in #14011. We can limit this PR just to the instrumentation change. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This pull request is now in conflicts. Could you fix it? 🙏 |
d1b16a9 to
16a7eef
Compare
|
@swiatekm I've rebased. There's still a bump to 1.6.1 here which fixed some future issues for the operator image. I've let AI agents figure out how to introduce tests for this. I've done a basic pass but welcome input for someone experienced in Go and this repo as to whether the ideas are sound. Hopefully the tess run through this time. |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
@swiatekm - Would you be able to take another look and approve please? |
TL;DRThis Buildkite run is failing due to a deterministic dependency metadata drift: Remediation
Investigation detailsRoot CausePrimary failure class: Dependency issue. All 9 failed jobs converge on the same error from Beats-internal imports used by EDOT builds/tests:
So EDOT unit tests + package jobs fail first on unresolved module metadata, and Evidence
Verification
Follow-up
What is this? | From workflow: Observability Agentic Workflow — Status Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |
|
I'm sorry to keep asking for rearranging this code, but can we move the tests to their own PR? It's quite a lot of stuff, and I want it to align correctly with the rest of our CI conventions in this repo. But I don't want to hold up the .NET instrumentation fix with it. So how about we leave only that change + the changelog in this PR, and the tests in a follow up? 🙏 |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
cade698 to
69229b9
Compare
@swiatekm Not a problem. I've made the change to just fix the core issue so we can get this shipped. TBH, I'm happy to let someone more knowledgable consider the tests later. |
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
💚 Build Succeeded
History
|
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
|
@Mergifyio backport 9.6 9.5 9.4 8.19 |
✅ Backports have been createdDetails
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
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
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
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 |
… EDOT is used (#17851) * Load EDOT .NET plugin in kube-stack auto-instrumentation (#17451) (cherry picked from commit 9badd67) # Conflicts: # deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml # deploy/helm/edot-collector/kube-stack/values.yaml * Fix merge conflicts --------- Co-authored-by: Steve Gordon <sgordon@hotmail.co.uk> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
… EDOT is used (#17849) * Load EDOT .NET plugin in kube-stack auto-instrumentation (#17451) (cherry picked from commit 9badd67) # Conflicts: # deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml # deploy/helm/edot-collector/kube-stack/values.yaml * Fix merge conflicts --------- Co-authored-by: Steve Gordon <sgordon@hotmail.co.uk> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
… EDOT is used (#17850) * Load EDOT .NET plugin in kube-stack auto-instrumentation (#17451) (cherry picked from commit 9badd67) # Conflicts: # deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml # deploy/helm/edot-collector/kube-stack/values.yaml * Fix merge conflicts --------- Co-authored-by: Steve Gordon <sgordon@hotmail.co.uk> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…e EDOT is used (#17852) * Load EDOT .NET plugin in kube-stack auto-instrumentation (#17451) (cherry picked from commit 9badd67) # Conflicts: # deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml # deploy/helm/edot-collector/kube-stack/values.yaml * Fix merge conflicts --------- Co-authored-by: Steve Gordon <sgordon@hotmail.co.uk> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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.