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

Provide some more granular metrics for polkadot_pvf_execution_time #6346

Merged
merged 2 commits into from
Nov 28, 2022
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
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,
mrcnski marked this conversation as resolved.
Show resolved Hide resolved
]),
)?,
registry,
Expand Down