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

Proposal for k8s.cluster.uid resource attribute #3266

Closed
mwear opened this issue Mar 1, 2023 · 0 comments · Fixed by #3267
Closed

Proposal for k8s.cluster.uid resource attribute #3266

mwear opened this issue Mar 1, 2023 · 0 comments · Fixed by #3267
Assignees
Labels
area:semantic-conventions Related to semantic conventions spec:resource Related to the specification/resource directory

Comments

@mwear
Copy link
Member

mwear commented Mar 1, 2023

What are you trying to achieve?

Kubernetes doesn't have a formal way to identify a cluster, but a pseudo-id can be derived by taking the uid of the kube-system namespace. I'd like to propose that we add a semantic convention k8s.cluster.uid set to the uid of the kube-system namespace. Additionally I'll open a PR with the proposed changes and we can discuss pros and cons and alternative approaches here or there.

@mwear mwear added the spec:resource Related to the specification/resource directory label Mar 1, 2023
@arminru arminru added the area:semantic-conventions Related to semantic conventions label Apr 4, 2023
carlosalberto pushed a commit that referenced this issue Apr 18, 2023
Fixes #3266

## Changes

Kubernetes doesn't have a formal way to identify a cluster, but a
pseudo-id can be derived by taking the `uid` of the `kube-system`
namespace. This PR adds a convention for `k8s.cluster.uid` to be set to
the `kube-system` namespace uid.
lmolkova pushed a commit to lmolkova/opentelemetry-specification that referenced this issue Apr 20, 2023
Fixes open-telemetry#3266

## Changes

Kubernetes doesn't have a formal way to identify a cluster, but a
pseudo-id can be derived by taking the `uid` of the `kube-system`
namespace. This PR adds a convention for `k8s.cluster.uid` to be set to
the `kube-system` namespace uid.
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this issue Oct 31, 2024
Fixes open-telemetry#3266

## Changes

Kubernetes doesn't have a formal way to identify a cluster, but a
pseudo-id can be derived by taking the `uid` of the `kube-system`
namespace. This PR adds a convention for `k8s.cluster.uid` to be set to
the `kube-system` namespace uid.
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants