You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
bfbfdf9d53
Related to https://github.com/open-telemetry/opentelemetry-go/issues/7686. This makes the Prometheus exporter ignore all metrics from the Prometheus bridge. This is almost certainly a misconfiguration, but may happen when using autoexport or other packages that automatically install the bridge.
12 lines
520 B
Go
12 lines
520 B
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Package prometheus provides a Prometheus Exporter that converts
|
|
// OTLP metrics into the Prometheus exposition format and implements
|
|
// prometheus.Collector to provide a handler for these metrics.
|
|
//
|
|
// The Prometheus exporter ignores metrics from the Prometheus bridge. To
|
|
// export these metrics, simply register them directly with the Prometheus
|
|
// Handler.
|
|
package prometheus // import "go.opentelemetry.io/otel/exporters/prometheus"
|