mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 01:51:23 +00:00
misc/metrics: Use correct event name for dcutr metrics (#2714)
This commit is contained in:
committed by
GitHub
parent
ea487aebfe
commit
cb3784a8b3
@ -29,7 +29,7 @@ pub struct Metrics {
|
||||
|
||||
impl Metrics {
|
||||
pub fn new(registry: &mut Registry) -> Self {
|
||||
let sub_registry = registry.sub_registry_with_prefix("relay");
|
||||
let sub_registry = registry.sub_registry_with_prefix("dcutr");
|
||||
|
||||
let events = Family::default();
|
||||
sub_registry.register(
|
||||
|
Reference in New Issue
Block a user