mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-25 17:01:20 +00:00
parent
5321a4479b
commit
7f865448c0
@ -134,10 +134,10 @@ impl Metrics {
|
||||
Family::new_with_constructor(constructor)
|
||||
};
|
||||
sub_registry.register_with_unit(
|
||||
"connections_establishment_duration",
|
||||
"Time it took (locally) to establish connections",
|
||||
"connections_duration",
|
||||
"Time a connection was alive",
|
||||
Unit::Seconds,
|
||||
connections_establishment_duration.clone(),
|
||||
connections_duration.clone(),
|
||||
);
|
||||
|
||||
Self {
|
||||
|
Loading…
x
Reference in New Issue
Block a user