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>
10 lines
529 B
Plaintext
Executable File
10 lines
529 B
Plaintext
Executable File
# HELP foo_total a simple counter
|
|
# TYPE foo_total counter
|
|
foo_total{A="B",C="D",E="true",F="42",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{A="B",C="D",service_name="prometheus_test",telemetry_sdk_language="go",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="latest"} 1
|