Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Provide some more granular metrics for polkadot_pvf_execution_time (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnski authored Nov 28, 2022
1 parent 728acfb commit e5602d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions node/core/pvf/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -192,6 +195,9 @@ impl metrics::Metrics for Metrics {
4.0,
5.0,
6.0,
8.0,
10.0,
12.0,
]),
)?,
registry,
Expand Down

0 comments on commit e5602d4

Please sign in to comment.