You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exported_job label in metrics (e.g., target_info) started including the namespace as part of the value, changing from just the job name to the format namespace/job_name.
Where production is the namespace of the resource.
This change is causing duplicated time series and confusion in dashboards and alerts that rely on the exported_job label. Steps to reproduce
Steps to reproduce
Deploy the OpenTelemetry Operator and Collector using the versions mentioned above.
Deploy an Instrumentation resource in the production namespace.
Observe the target_info metric in Prometheus.
Note that the exported_job label appears with two different values:
APPREDACTEDANDproduction/APPREDACTED
What did you expect to see?
What did you expect to see?
I expected to see the exported_job label value remain consistent as before, containing only the job name: APPREDACTED, regardless of the namespace.
What did you see instead?
The exported_job label now has two different formats:
APPREDACTEDANDproduction/APPREDACTED
This new behavior introduces duplicates and inconsistencies in metrics.
Component(s)
No response
What happened?
Describe the bug
After upgrading the OpenTelemetry Operator and Collector to the following versions:
The exported_job label in metrics (e.g., target_info) started including the namespace as part of the value, changing from just the job name to the format namespace/job_name.
Previously, the label had the value:
exported_job="APPREDACTED"
Now it appears as both:
exported_job="APPREDACTED"
ANDexported_job="production/APPREDACTED"
Where production is the namespace of the resource.
This change is causing duplicated time series and confusion in dashboards and alerts that rely on the exported_job label.
Steps to reproduce
Steps to reproduce
APPREDACTED
ANDproduction/APPREDACTED
What did you expect to see?
What did you expect to see?
I expected to see the exported_job label value remain consistent as before, containing only the job name: APPREDACTED, regardless of the namespace.
What did you see instead?
The exported_job label now has two different formats:
APPREDACTED
ANDproduction/APPREDACTED
This new behavior introduces duplicates and inconsistencies in metrics.
Collector version
0.126.0
Environment information
INF Target K8s version is 1.31.7-eks-bcf3d70
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: