Proposal for k8s.cluster.uid
resource attribute
#3266
Labels
area:semantic-conventions
Related to semantic conventions
spec:resource
Related to the specification/resource directory
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 thekube-system
namespace. I'd like to propose that we add a semantic conventionk8s.cluster.uid
set to theuid
of thekube-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.The text was updated successfully, but these errors were encountered: