Skip to content

Commit

Permalink
fix(operator): Move OTLP attribute for statefulset name to stream lab…
Browse files Browse the repository at this point in the history
…els (#14630)
  • Loading branch information
xperimental authored Oct 28, 2024
1 parent c762b9b commit 5df3594
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions operator/internal/manifests/openshift/otlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ func DefaultOTLPAttributes(disableRecommended bool) config.OTLPAttributeConfig {
return result
}

// TODO decide whether we want to split the default configuration by tenant
result.Global.ResourceAttributes[0].Names = append(result.Global.ResourceAttributes[0].Names,
"k8s.container.name",
"k8s.cronjob.name",
Expand All @@ -41,6 +40,7 @@ func DefaultOTLPAttributes(disableRecommended bool) config.OTLPAttributeConfig {
"k8s.job.name",
"k8s.node.name",
"k8s.pod.name",
"k8s.statefulset.name",
"kubernetes.container_name",
"kubernetes.host",
"kubernetes.pod_name",
Expand All @@ -55,7 +55,6 @@ func DefaultOTLPAttributes(disableRecommended bool) config.OTLPAttributeConfig {
"k8s.node.uid",
"k8s.pod.uid",
"k8s.replicaset.name",
"k8s.statefulset.name",
"process.command_line",
"process.executable.name",
"process.executable.path",
Expand Down

0 comments on commit 5df3594

Please sign in to comment.