diff --git a/ant-networking/src/metrics/mod.rs b/ant-networking/src/metrics/mod.rs index 03d2b9a9e9..cb0081d963 100644 --- a/ant-networking/src/metrics/mod.rs +++ b/ant-networking/src/metrics/mod.rs @@ -77,7 +77,7 @@ impl NetworkMetricsRecorder { let libp2p_metrics = Libp2pMetrics::new(&mut registries.standard_metrics); let sub_registry = registries .standard_metrics - .sub_registry_with_prefix("ant-networking"); + .sub_registry_with_prefix("ant_networking"); let records_stored = Gauge::default(); sub_registry.register( diff --git a/ant-node/src/metrics.rs b/ant-node/src/metrics.rs index fcd230276f..667b299826 100644 --- a/ant-node/src/metrics.rs +++ b/ant-node/src/metrics.rs @@ -71,7 +71,7 @@ impl NodeMetricsRecorder { let sub_registry = registries .standard_metrics - .sub_registry_with_prefix("sn_node"); + .sub_registry_with_prefix("ant_node"); let put_record_ok = Family::default(); sub_registry.register(