Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override host and cloud attributes in OTel Collector Agent #375

Merged
merged 2 commits into from
Feb 2, 2022

Conversation

dmitryax
Copy link
Contributor

@dmitryax dmitryax commented Feb 2, 2022

Instrumentation libraries running in container environments cannot always correctly set host attributes while OTel Collector Agent has all required access to underlying host and can be considered as a source of truth for all host and cloud metadata. This change reconfigures Resource Detection processor on the agent to override all host and cloud attributes.

@dmitryax dmitryax requested review from a team as code owners February 2, 2022 00:34
@dmitryax dmitryax force-pushed the override-host-name branch 2 times, most recently from 3625cd2 to 9d0e393 Compare February 2, 2022 00:42
Instrumentation libraries running in container environments cannot always correctly set host attributes while OTel Collector Agent has all required access to underlying host and can be considered as a source of truth for all host and cloud metadata. This change reconfigures Resource Detection processor on the agent to override all host and cloud attributes.
@dmitryax dmitryax merged commit 8e62694 into main Feb 2, 2022
@dmitryax dmitryax deleted the override-host-name branch February 2, 2022 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants