Skip to content

Commit

Permalink
add optional otel_scope_info configuration for prometheus exporter
Browse files Browse the repository at this point in the history
Adding some more options that are exposed in the OTel Go SDK, but not specified in the prometheus exporter details.

Signed-off-by: Alex Boten <aboten@lightstep.com>
  • Loading branch information
Alex Boten committed Dec 15, 2023
1 parent e94af89 commit 4d5d7ed
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 @@ -48,7 +51,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 4d5d7ed

Please sign in to comment.