diff --git a/node/network/approval-distribution/src/metrics.rs b/node/network/approval-distribution/src/metrics.rs index 3cdc64a8b76f..896866ce099a 100644 --- a/node/network/approval-distribution/src/metrics.rs +++ b/node/network/approval-distribution/src/metrics.rs @@ -134,14 +134,14 @@ impl MetricsTrait for Metrics { prometheus::Histogram::with_opts(prometheus::HistogramOpts::new( "polkadot_parachain_time_import_pending_now_known", "Time spent on importing pending assignments and approvals.", - ))?, + ).buckets(vec![0.0001, 0.0004, 0.0016, 0.0064, 0.0256, 0.1024, 0.4096, 1.6384, 3.2768, 4.9152, 6.5536,]))?, registry, )?, time_awaiting_approval_voting: prometheus::register( prometheus::Histogram::with_opts(prometheus::HistogramOpts::new( "polkadot_parachain_time_awaiting_approval_voting", "Time spent awaiting a reply from the Approval Voting Subsystem.", - ))?, + ).buckets(vec![0.0001, 0.0004, 0.0016, 0.0064, 0.0256, 0.1024, 0.4096, 1.6384, 3.2768, 4.9152, 6.5536,]))?, registry, )?, }; diff --git a/node/overseer/src/metrics.rs b/node/overseer/src/metrics.rs index d5acf3308313..9b6053ccf769 100644 --- a/node/overseer/src/metrics.rs +++ b/node/overseer/src/metrics.rs @@ -165,7 +165,11 @@ impl MetricsTrait for Metrics { prometheus::HistogramOpts::new( "polkadot_parachain_subsystem_bounded_tof", "Duration spent in a particular channel from entrance to removal", - ), + ) + .buckets(vec![ + 0.0001, 0.0004, 0.0016, 0.0064, 0.0256, 0.1024, 0.4096, 1.6384, 3.2768, + 4.9152, 6.5536, + ]), &["subsystem_name"], )?, registry, @@ -205,7 +209,11 @@ impl MetricsTrait for Metrics { prometheus::HistogramOpts::new( "polkadot_parachain_subsystem_unbounded_tof", "Duration spent in a particular channel from entrance to removal", - ), + ) + .buckets(vec![ + 0.0001, 0.0004, 0.0016, 0.0064, 0.0256, 0.1024, 0.4096, 1.6384, 3.2768, + 4.9152, 6.5536, + ]), &["subsystem_name"], )?, registry,