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

add k8s.pod.hostname #3201

Closed

Conversation

alburthoffman
Copy link

Fixes #

Changes

Spans from our client contain a host attribute, which is pod's hostname in the metadata.
And the bad news is pod's name is a little different from hostname.

We want to associate pod metadata based on the host attribute. Based on k8s documents, pod.spec.hostname might be different with pod.name. refer to https://github.com/alburthoffman/opentelemetry-collector-contrib/blob/main/processor/k8sattributesprocessor/internal/kube/client.go#L288

But since k8s processor only support pod name, we could not do this.

Related issues # open-telemetry/opentelemetry-collector-contrib#18494

@alburthoffman alburthoffman requested review from a team February 10, 2023 17:56
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 10, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@dmitryax
Copy link
Member

@alburthoffman please sign the CLA

@arminru arminru added area:semantic-conventions Related to semantic conventions spec:resource Related to the specification/resource directory labels Feb 14, 2023
@alburthoffman
Copy link
Author

@dmitryax could u help with the pending workflow? it waits for approval....

@github-actions
Copy link

github-actions bot commented Mar 2, 2023

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Mar 2, 2023
@github-actions
Copy link

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:semantic-conventions Related to semantic conventions spec:resource Related to the specification/resource directory Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants