1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00
Files
opentelemetry-go/exporters/prometheus/testdata/conflict_help_two_updowncounters_1.txt
T
Owen Williams d0cab8666b prometheus: Add support for setting Translation Strategy config option (#7111)
As per the specification:
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/prometheus.md#configuration

This is part of a broader effort to unify the behavior of all the touch
points between open telemetry metrics and prometheus:
https://github.com/prometheus/prometheus/issues/16542

Fixes https://github.com/open-telemetry/opentelemetry-go/issues/6668

---------

Signed-off-by: Owen Williams <owen.williams@grafana.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2025-08-27 13:56:14 -04:00

8 lines
452 B
Plaintext

# HELP bar_bytes meter a bar
# TYPE bar_bytes gauge
bar_bytes{otel_scope_name="ma",otel_scope_schema_url="",otel_scope_version="v0.1.0",type="bar"} 100
bar_bytes{otel_scope_name="mb",otel_scope_schema_url="",otel_scope_version="v0.1.0",type="bar"} 100
# HELP target_info Target metadata
# TYPE target_info gauge
target_info{service_name="prometheus_test",telemetry_sdk_language="go",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="latest"} 1