Skip to content

Commit 5df3594

Browse files
authored
fix(operator): Move OTLP attribute for statefulset name to stream labels (#14630)
1 parent c762b9b commit 5df3594

File tree

1 file changed

+1
-2
lines changed
  • operator/internal/manifests/openshift

1 file changed

+1
-2
lines changed

operator/internal/manifests/openshift/otlp.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ func DefaultOTLPAttributes(disableRecommended bool) config.OTLPAttributeConfig {
3232
return result
3333
}
3434

35-
// TODO decide whether we want to split the default configuration by tenant
3635
result.Global.ResourceAttributes[0].Names = append(result.Global.ResourceAttributes[0].Names,
3736
"k8s.container.name",
3837
"k8s.cronjob.name",
@@ -41,6 +40,7 @@ func DefaultOTLPAttributes(disableRecommended bool) config.OTLPAttributeConfig {
4140
"k8s.job.name",
4241
"k8s.node.name",
4342
"k8s.pod.name",
43+
"k8s.statefulset.name",
4444
"kubernetes.container_name",
4545
"kubernetes.host",
4646
"kubernetes.pod_name",
@@ -55,7 +55,6 @@ func DefaultOTLPAttributes(disableRecommended bool) config.OTLPAttributeConfig {
5555
"k8s.node.uid",
5656
"k8s.pod.uid",
5757
"k8s.replicaset.name",
58-
"k8s.statefulset.name",
5958
"process.command_line",
6059
"process.executable.name",
6160
"process.executable.path",

0 commit comments

Comments
 (0)