Open hdost opened 8 months ago
Where/why prometheus exporter needs protobuf
?
The depedency is coming from prometheus client: https://github.com/tikv/rust-prometheus/blob/master/proto/proto_model.rs. Switching to prometheus-client should get rid of it.
I know the prometheus-client isn't currently as full featured. I can take a look.
The prometheus client is not compatible with the latest protobuf version - https://github.com/tikv/rust-prometheus/blob/f49c724df0e123520554664436da68e555593af0/Cargo.toml#L30. So not sure if we can upgrade opentelemetry-prometheus with new protobuf version.
Originally posted by @dependabot in https://github.com/open-telemetry/opentelemetry-rust/pull/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.
From #1557