opentelemetry-prometheus
Version: 0.31.1Recommended Alternative
For Prometheus integration, use the OTLP exporter instead. Prometheus natively supports OTLP since version 2.47.0, providing a more stable and actively maintained solution.Migration to OTLP
Before (Deprecated):Legacy Documentation
Show legacy documentation (not recommended)
Show legacy documentation (not recommended)
Why Deprecated?
- Security vulnerabilities - Depends on unmaintained
protobufcrate - Better alternative exists - Prometheus now natively supports OTLP
- No maintenance - The crate is no longer actively maintained
- Specification alignment - OTLP is the recommended export protocol
Migration Resources
Prometheus OTLP Documentation
Learn how to configure Prometheus to receive OTLP metrics
OTLP Exporter
View documentation for the recommended OTLP exporter