mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-28 17:21:34 +00:00
{misc,protocols/gossipsub}: Move to prometheus-client (#2442)
`open-metrics-client` has been accepted as the official Prometheus Rust client and thus renamed to `prometheus-client`. See https://groups.google.com/g/prometheus-developers/c/E67ByGmVQKM
This commit is contained in:
@ -55,8 +55,8 @@ use libp2p::metrics::{Metrics, Recorder};
|
||||
use libp2p::ping::{Ping, PingConfig};
|
||||
use libp2p::swarm::SwarmEvent;
|
||||
use libp2p::{identity, PeerId, Swarm};
|
||||
use open_metrics_client::encoding::text::encode;
|
||||
use open_metrics_client::registry::Registry;
|
||||
use prometheus_client::encoding::text::encode;
|
||||
use prometheus_client::registry::Registry;
|
||||
use std::error::Error;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::thread;
|
||||
|
Reference in New Issue
Block a user