Open
Description
Originally posted by @dependabot in #1548
We may even want to consider changing to the official Prometheus Rust crate. It didn't exist previously when the exporter was originally implemented.
- Consider switching to official crate.
- Determine the scope of the differences
- Verify the binary compatibility between the proto output
- Check if there's any user facing changes.
https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-prometheus/Cargo.toml#L26 Currently, exporter depends on the
prometheus
crate. This crate is not the official prometheus client.
This issue is opened to explore if we should switch to the official client library - https://crates.io/crates/prometheus-client , or maybe remove the dependency altogether.
From #1557