You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metrics which do not have an `otel_scope_name` or `otel_scope_version` label
198
+
Metrics which do not have any label with `otel_scope_` prefix
203
199
MUST be assigned an instrumentation scope identifying the entity performing
204
200
the translation from Prometheus to OpenTelemetry (e.g. the collector's
205
201
prometheus receiver).
@@ -280,19 +276,13 @@ It also dictates type-specific conversion rules listed below.
280
276
281
277
### Instrumentation Scope
282
278
283
-
Prometheus exporters SHOULD generate an [Info](https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#info)-typed
284
-
metric named `otel_scope_info` for each Instrumentation Scope with non-empty
285
-
scope attributes. If present, Instrumentation Scope `name` and `version` MUST
286
-
be added as `otel_scope_name` and `otel_scope_version` labels. Scope attributes
287
-
MUST also be added as labels following the rules described in the
Copy file name to clipboardExpand all lines: specification/metrics/sdk_exporters/prometheus.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,8 +69,8 @@ or UNIT metadata. The option MAY be named `without_units`, and MUST be `false` b
69
69
A Prometheus Exporter MAY support a configuration option to produce metrics without a [type suffix](../../compatibility/prometheus_and_openmetrics.md#metric-metadata).
70
70
The option MAY be named `without_type_suffix`, and MUST be `false` by default.
71
71
72
-
A Prometheus Exporter MAY support a configuration option to produce metrics without a [scope info](../../compatibility/prometheus_and_openmetrics.md#instrumentation-scope-1)
73
-
metric, or scope labels. The option MAY be named `without_scope_info`, and MUST be `false` by default.
72
+
A Prometheus Exporter MAY support a configuration option to produce metrics without [scope labels](../../compatibility/prometheus_and_openmetrics.md#instrumentation-scope-1).
73
+
The option MAY be named `without_scope_info`, and MUST be `false` by default.
74
74
75
75
A Prometheus Exporter MAY support a configuration option to produce metrics without a [target info](../../compatibility/prometheus_and_openmetrics.md#resource-attributes-1)
76
76
metric. The option MAY be named `without_target_info`, and MUST be `false` by default.
0 commit comments