diff --git a/CHANGELOG.md b/CHANGELOG.md index cc5505f87e7..b2b90a26deb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,8 @@ release. - OpenTracing Shim: Allow invalid but sampled SpanContext to be returned. ([#3471](https://github.com/open-telemetry/opentelemetry-specification/pull/3471)) +- Prometheus: Allow changing metric names by default when translating from Prometheus to OpenTelemetry. + ([#3679](https://github.com/open-telemetry/opentelemetry-specification/pull/3679)) ### SDK Configuration diff --git a/specification/compatibility/prometheus_and_openmetrics.md b/specification/compatibility/prometheus_and_openmetrics.md index 1a45751e06c..3476b212329 100644 --- a/specification/compatibility/prometheus_and_openmetrics.md +++ b/specification/compatibility/prometheus_and_openmetrics.md @@ -55,7 +55,7 @@ OpenTelemetry metric data. Since OpenMetrics has a superset of Prometheus' types ### Metric Metadata The [OpenMetrics MetricFamily Name](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#metricfamily) -MUST be added as the Name of the OTLP metric. By default, the name MUST be unaltered, but translation SHOULD provide configuration which, when enabled, removes type (e.g. `_total`) and unit (e.g. `_seconds`) suffixes. +MUST be added as the Name of the OTLP metric. By default, the name SHOULD be unaltered, but translation SHOULD provide configuration which, when enabled, removes type (e.g. `_total`) and unit (e.g. `_seconds`) suffixes. The [OpenMetrics UNIT metadata](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#metricfamily), if present, MUST be converted to the unit of the OTLP metric. The unit SHOULD