You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
d0cab8666b
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>
8 lines
478 B
Plaintext
8 lines
478 B
Plaintext
# HELP bar_bytes_total meter b bar
|
|
# TYPE bar_bytes_total counter
|
|
bar_bytes_total{otel_scope_name="ma",otel_scope_schema_url="",otel_scope_version="v0.1.0",type="bar"} 100
|
|
bar_bytes_total{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
|