sdk-core icon indicating copy to clipboard operation
sdk-core copied to clipboard

[Bug] PrometheusExporterOptions.global_tags not working for all metrics

Open cretz opened this issue 10 months ago • 1 comments

Describe the bug

When investigating https://github.com/temporalio/sdk-python/issues/775, it seems that setting global_tags on a PrometheusExporterOptionsBuilder, the tags are not present on most Prometheus metrics. It is available on target_info but no other metrics.

cretz avatar Feb 27 '25 21:02 cretz

Needs a fix in otel before we can do this properly: https://github.com/open-telemetry/opentelemetry-rust/issues/2858

Sushisource avatar Mar 25 '25 00:03 Sushisource