[OTAGENT-920] Set DD_OTELCOLLECTOR_INSTALLATION_METHOD on otel-agent container#2846
[OTAGENT-920] Set DD_OTELCOLLECTOR_INSTALLATION_METHOD on otel-agent container#2846
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 10ea3160a0
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (50.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #2846 +/- ##
=======================================
Coverage 40.05% 40.06%
=======================================
Files 319 319
Lines 28031 28039 +8
=======================================
+ Hits 11229 11233 +4
- Misses 15979 15983 +4
Partials 823 823
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
What does this PR do?
Injects
DD_OTELCOLLECTOR_INSTALLATION_METHOD=kubernetesinto the otel-agent container when the Operator reconciles the node agent pod spec. This env var maps to theotelcollector.installation_methodcore config key, which the converter reads and injects into theextensions.datadogconfig so the Datadog extension can report the installation method in collector metadata payloads.Motivation
Part of OTAGENT-920. Intended for the 7.78.0 agent release.