Skip to content

Commit

Permalink
add optional otel_scope_info configuration for prometheus exporter (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Boten authored Dec 19, 2023
1 parent 7d8a6f9 commit 1d70345
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ release.

### Metrics

- Add optional configuration for Prometheus exporters to optionally drop `otel_scope_info` metric.
([#3796](https://github.com/open-telemetry/opentelemetry-specification/pull/3796))

### Logs

### Resource
Expand Down Expand Up @@ -51,7 +54,7 @@ release.
([#3761](https://github.com/open-telemetry/opentelemetry-specification/pull/3761))
- Clarifications and flexibility in Exemplar speicification.
([#3760](https://github.com/open-telemetry/opentelemetry-specification/pull/3760))
- Add optional configuration for Prometheus exporters to optionally remove unit and type suffixes
- Add optional configuration for Prometheus exporters to optionally remove unit and type suffixes.
([#3777](https://github.com/open-telemetry/opentelemetry-specification/pull/3777))

### Logs
Expand Down
3 changes: 3 additions & 0 deletions specification/metrics/sdk_exporters/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ or UNIT metadata. The option MAY be named `without_units`, and MUST be `false` b

A Prometheus Exporter MAY support a configuration option to produce metrics without a [type suffix](../../compatibility/prometheus_and_openmetrics.md#metric-metadata).
The option MAY be named `without_type_suffix`, and MUST be `false` by default.

A Prometheus Exporter MAY support a configuration option to produce metrics without a [scope info](../../compatibility/prometheus_and_openmetrics.md#instrumentation-scope)
metric. The option MAY be named `without_scope_info`, and MUST be `false` by default.

0 comments on commit 1d70345

Please sign in to comment.