mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-12 02:28:07 +02:00
e8023fab22
* prometheus exporter convert instrumentation scope to otel_scope_info metric Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> * fix for commits Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> * fix for ci failed Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> * add multi scopes test Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> * fix ci failed Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
14 lines
791 B
Plaintext
14 lines
791 B
Plaintext
# HELP bar_milliseconds_total meter bar counter
|
|
# TYPE bar_milliseconds_total counter
|
|
bar_milliseconds_total{otel_scope_name="meterbar",otel_scope_version="v0.1.0",type="bar"} 200
|
|
# HELP foo_milliseconds_total meter foo counter
|
|
# TYPE foo_milliseconds_total counter
|
|
foo_milliseconds_total{otel_scope_name="meterfoo",otel_scope_version="v0.1.0",type="foo"} 100
|
|
# HELP otel_scope_info Instrumentation Scope metadata
|
|
# TYPE otel_scope_info gauge
|
|
otel_scope_info{otel_scope_name="meterfoo",otel_scope_version="v0.1.0"} 1
|
|
otel_scope_info{otel_scope_name="meterbar",otel_scope_version="v0.1.0"} 1
|
|
# 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
|