mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-14 10:13:10 +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>
11 lines
510 B
Plaintext
Executable File
11 lines
510 B
Plaintext
Executable File
# HELP foo_total a sanitary counter
|
|
# TYPE foo_total counter
|
|
foo_total{A_B="Q",C_D="Y;Z",otel_scope_name="testmeter",otel_scope_version="v0.1.0"} 24.3
|
|
# HELP otel_scope_info Instrumentation Scope metadata
|
|
# TYPE otel_scope_info gauge
|
|
otel_scope_info{otel_scope_name="testmeter",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
|
|
|