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

[processor/resourcedetectionprocessor] add k8snode detector #26524

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

dloucasfx
Copy link
Contributor

Description:
Adding k8snode detector to the resourcedetection processor.
We currently have no way to attach the k8s node UID attribute to logs/metrics/traces , this detector allows such an attribute to be added.
Note: We can add more node attributes if needed, but atm only k8s.node.uis is added

Link to tracking Issue:

Testing:
Unit test, mock tests and manual validation

Documentation:
See Readme

@dmitryax
Copy link
Member

dmitryax commented Sep 8, 2023

@dloucasfx please rebase

@dloucasfx dloucasfx force-pushed the resourcedetection_k8snode branch 8 times, most recently from 093e05b to f7022db Compare September 13, 2023 17:57
@dloucasfx dloucasfx force-pushed the resourcedetection_k8snode branch 3 times, most recently from b8ba4ec to a6a1d2f Compare September 17, 2023 16:36
@dmitryax dmitryax added the ready to merge Code review completed; ready to merge by maintainers label Sep 18, 2023
@dmitryax
Copy link
Member

@dloucasfx LGTM. Please rebase once more

@dloucasfx dloucasfx force-pushed the resourcedetection_k8snode branch 2 times, most recently from 1ac1d25 to d276719 Compare September 19, 2023 17:19
@dmitryax
Copy link
Member

@dloucasfx it needs another rebase :(

@dmitryax dmitryax merged commit b7ea607 into open-telemetry:main Sep 25, 2023
91 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 25, 2023
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…emetry#26524)

**Description:** <Describe what has changed.>
Adding k8snode detector to the resourcedetection processor.
We currently have no way to attach the k8s node UID attribute to
logs/metrics/traces , this detector allows such an attribute to be
added.
Note: We can add more node attributes if needed, but atm only
`k8s.node.uis` is added

Signed-off-by: Dani Louca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/otelcontribcol otelcontribcol command exporter/datadog Datadog components internal/metadataproviders processor/resourcedetection Resource detection processor ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants