From e5602d4d6db81a9b3fcf142f06d8f634c1d0ecf7 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Mon, 28 Nov 2022 10:26:17 -0500 Subject: [PATCH] Provide some more granular metrics for polkadot_pvf_execution_time (#6346) --- node/core/pvf/src/metrics.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/node/core/pvf/src/metrics.rs b/node/core/pvf/src/metrics.rs index 20965ec7dbd7..8db105d895ea 100644 --- a/node/core/pvf/src/metrics.rs +++ b/node/core/pvf/src/metrics.rs @@ -183,6 +183,9 @@ impl metrics::Metrics for Metrics { ).buckets(vec![ // This is synchronized with `APPROVAL_EXECUTION_TIMEOUT` and // `BACKING_EXECUTION_TIMEOUT` constants in `node/primitives/src/lib.rs` + 0.01, + 0.025, + 0.05, 0.1, 0.25, 0.5, @@ -192,6 +195,9 @@ impl metrics::Metrics for Metrics { 4.0, 5.0, 6.0, + 8.0, + 10.0, + 12.0, ]), )?, registry,