Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Provide some more granular metrics for polkadot_pvf_execution_time
Previously the metrics were mostly clustered at under 100ms which wasn't very
useful. Also, there were some jobs that finished between 6s and +Inf which
likewise didn't tell us much.
  • Loading branch information
mrcnski committed Nov 25, 2022
commit c9c57317c9f159e3135fc77a40300f3b322240fb
7 changes: 7 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,10 @@ impl metrics::Metrics for Metrics {
4.0,
5.0,
6.0,
7.0,
8.0,
9.0,
10.0,
]),
)?,
registry,
Expand Down