Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ release.
- Stabilize sections of Prometheus Metrics Exporter.
- Stabilize temporality.
([#5024](https://github.com/open-telemetry/opentelemetry-specification/issues/5024))
- Clarify that OTel SDKs should not use unofficial Prometheus clients.
([#4980](https://github.com/open-telemetry/opentelemetry-specification/issues/4980))
- Stabilize port configuration.
([#4985](https://github.com/open-telemetry/opentelemetry-specification/issues/4985))
- Change Prometheus Metric Exporter config property recommended names
Expand Down
7 changes: 4 additions & 3 deletions specification/metrics/sdk_exporters/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ OpenTelemetry metrics MUST be converted to Prometheus metrics according to the

**Status**: [Development](../../document-status.md)

A Prometheus Exporter SHOULD use
[Prometheus client libraries](https://prometheus.io/docs/instrumenting/clientlibs/)
for serving Prometheus metrics. This allows the Prometheus client to negotiate
A Prometheus Exporter SHOULD use an official [Prometheus client library](https://prometheus.io/docs/instrumenting/clientlibs/)
when one exists for the implementation language for serving Prometheus metrics;
it SHOULD NOT use an unofficial Prometheus client library.
This allows the Prometheus client to negotiate
the [format](https://github.com/prometheus/docs/blob/main/docs/instrumenting/exposition_formats.md)
of the response using the `Content-Type` header. If a Prometheus client library
is used, the OpenTelemetry Prometheus Exporter SHOULD be modeled as a
Expand Down
Loading