From 02d434754e50584c4a5ea5f8a674dac33220b1de Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Mon, 26 Sep 2022 20:37:11 +0000 Subject: [PATCH] allow disabling instrumentation scope labels --- specification/metrics/data-model.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/metrics/data-model.md b/specification/metrics/data-model.md index 7910093f8fb..d1ba54992dc 100644 --- a/specification/metrics/data-model.md +++ b/specification/metrics/data-model.md @@ -1498,7 +1498,11 @@ following the rules described in the [`Metric Attributes`](#metric-attributes) section below. Prometheus exporters MUST add the scope name as the `otel_scope_name` label and -the scope version as the `otel_scope_version` label on all metric points. +the scope version as the `otel_scope_version` label on all metric points by +default. + +Prometheus exporters SHOULD provide a configuration option to disable the +`otel_scope_info` metric and `otel_scope_` labels. #### Gauges