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

fix(operator): Move OTLP attribute for statefulset name to stream labels #14630

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading