Package prometheus provides an OpenTelemetry metrics exporter for Prometheus, but is deprecated in favor of go.opentelemetry.io/otel/exporters/prometheus.
go get go.opentelemetry.io/otel/exporters/metric/prometheusNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize the deprecated Prometheus exporter pipeline
Replace import with go.opentelemetry.io/otel/exporters/prometheus and update API calls accordingly.
No dependency data recorded yet.