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)
|
Family::new_with_constructor(constructor)
|
||||||
};
|
};
|
||||||
sub_registry.register_with_unit(
|
sub_registry.register_with_unit(
|
||||||
"connections_establishment_duration",
|
"connections_duration",
|
||||||
"Time it took (locally) to establish connections",
|
"Time a connection was alive",
|
||||||
Unit::Seconds,
|
Unit::Seconds,
|
||||||
connections_establishment_duration.clone(),
|
connections_duration.clone(),
|
||||||
);
|
);
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user