Skip to content

Commit

Permalink
Add k8s.node semantic conventions (#2425)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrcamp committed Feb 1, 2021
1 parent 819c751 commit e12dee4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions translator/conventions/opentelemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ const (
AttributeK8sJob = "k8s.job.name"
AttributeK8sJobUID = "k8s.job.uid"
AttributeK8sNamespace = "k8s.namespace.name"
AttributeK8sNodeName = "k8s.node.name"
AttributeK8sNodeUID = "k8s.node.uid"
AttributeK8sPod = "k8s.pod.name"
AttributeK8sPodUID = "k8s.pod.uid"
AttributeK8sReplicaSet = "k8s.replicaset.name"
Expand Down Expand Up @@ -149,6 +151,8 @@ func GetResourceSemanticConventionAttributeNames() []string {
AttributeK8sJob,
AttributeK8sJobUID,
AttributeK8sNamespace,
AttributeK8sNodeName,
AttributeK8sNodeUID,
AttributeK8sPod,
AttributeK8sPodUID,
AttributeK8sReplicaSet,
Expand Down

0 comments on commit e12dee4

Please sign in to comment.