-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
Add support for histograms to the runtime metrics. Additionally add `polkadot_parachain_verify_dispute_signature` histogram which tracks the time needed from the runtime to verify a single validator signature of a dispute statement.
@@ -176,4 +188,14 @@ pub mod metric_definitions { | |||
description: "Counts the number of bitfields signature checked in `enter_inner`.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This metric doesn't work (before and after my changes) for some reason - it's not reported at all by prometheus. I'll investigate further.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've created a follow up issue for this: https://github.com/paritytech/polkadot/issues/6943
@@ -20,30 +20,33 @@ | |||
//! tracing support. This requires that the custom profiler (`TraceHandler`) to be | |||
//! registered in substrate via a `logger_hook()`. Events emitted from runtime are | |||
//! then captured/processed by the `TraceHandler` implementation. | |||
//! | |||
//! Don't add logs in this file because it gets executed before the logger is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
Do you have a link to that Versi histogram - I would love to have a closer look. |
Yes @eskimor: https://grafana.parity-mgmt.parity.io/d/rrbzx79nz/disputes?orgId=1&var-data_source=thanos&var-chain=versi_v1_10&from=1679574006458&to=1679587000062 Ignore the |
bot merge |
* master: Companion: wasm-builder support stable Rust (#6967) Fix feature (#6966) configuration: backport async backing parameters from the feature branch (#6961) Histogram support in runtime metrics (#6935) Bump openssl from 0.10.38 to 0.10.48 (#6955) Proxy for Nomination Pools (#6846) Nomination Pools migration v5: RewardPool fix (#6957) bump timestamp script to v0.2 (#6954) Subsystem channel tweaks (#6905) Companion for #13683 (#6944) inherent disputes: remove per block initializer and disputes timeout event (#6937)
…slashing-client * ao-past-session-slashing-runtime: Companion: wasm-builder support stable Rust (#6967) Fix feature (#6966) configuration: backport async backing parameters from the feature branch (#6961) Histogram support in runtime metrics (#6935) Bump openssl from 0.10.38 to 0.10.48 (#6955) Proxy for Nomination Pools (#6846) Nomination Pools migration v5: RewardPool fix (#6957)
Add support for histograms to the runtime metrics. Additionally add
polkadot_parachain_verify_dispute_signature
histogram which tracks the time needed from the runtime to verify a single validator signature of a dispute statement.