Package Usage: go: go.opentelemetry.io/contrib/bridges/prometheus
Package prometheus provides a bridge from Prometheus to OpenTelemetry.
The Prometheus Bridge allows using the Prometheus Golang client library
with the OpenTelemetry SDK. This enables prometheus instrumentation libraries
to be used with OpenTelemetry exporters, including OTLP.
Prometheus histograms are translated to OpenTelemetry exponential histograms
when native histograms are enabled in the Prometheus client. To enable
Prometheus native histograms, set the (currently experimental) NativeHistogram...
options of the prometheus HistogramOpts when creating prometheus histograms.
While the Prometheus Bridge has some overhead, it can significantly reduce the
combined overall CPU and Memory footprint when sending to an OpenTelemetry
Collector. See the benchmarks for more details.
12 versions
Latest release: over 1 year ago
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/go.opentelemetry.io/contrib/bridges/prometheus