Skip to content

Commit

Permalink
allow disabling instrumentation scope labels
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Oct 12, 2022
1 parent 227c2f7 commit 02d4347
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion specification/metrics/data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 02d4347

Please sign in to comment.