Registry / observability / opentelemetry-prometheus

opentelemetry-prometheus

JSON →
library0.31.0rscratesunverified

Prometheus exporter for OpenTelemetry (This crate is discontinued and is no longer maintained)

# Cargo.toml [dependencies] opentelemetry-prometheus = "0.31.0"
INSTALL
IMPORT
SIG · OPENTELEMETRY-PROM
O
opentelemetry-prometheus
observabilityrustv0.31.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PrometheusExporter
use opentelemetry_prometheus::PrometheusExporter;

Create a default Prometheus exporter.

use opentelemetry_prometheus::PrometheusExporter; fn main() { let exporter = PrometheusExporter::default(); println!("Exporter created"); }
Debug
Known issues
breakingThis crate is discontinued and no longer maintained.
fix
Consider using the official OpenTelemetry Rust SDK with Prometheus support or other alternatives.
affects: >=0.31.0
Upgrade
Version history
0.31.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
10
OpenAI (training)
3
Resources
opentelemetry-prometheus — cargo add opentelemetry-prometheus · libregistry