-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Additional tracing in provisioner
, vote_selection
and dispute-coordinator
#6775
Conversation
2132619
to
483ebef
Compare
TODO: cherry pick this in the initial branch!!!
provisioner
, vote_selection
provisioner
, vote_selection
and dispute-coordinator
@@ -36,6 +36,9 @@ struct MetricsInner { | |||
|
|||
/// The disputes received from `disputes-coordinator` by partition | |||
partitioned_disputes: prometheus::CounterVec<prometheus::U64>, | |||
|
|||
/// The disputes fetched from the runtime. | |||
fetched_onchain_disputes: prometheus::Counter<prometheus::U64>, |
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.
The metric didn't help much during the debugging. Should we keep it?
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 would remove it if it is not useful, we already have a ton of metrics, most of them we never use :)
@@ -36,6 +36,9 @@ struct MetricsInner { | |||
|
|||
/// The disputes received from `disputes-coordinator` by partition | |||
partitioned_disputes: prometheus::CounterVec<prometheus::U64>, | |||
|
|||
/// The disputes fetched from the runtime. | |||
fetched_onchain_disputes: prometheus::Counter<prometheus::U64>, |
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 would remove it if it is not useful, we already have a ton of metrics, most of them we never use :)
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.
Looks good to me 👍 I think this serves as a good example for changes I may need to make in #6735
bot merge |
…ordinator` (#6775) * Additional tracing in `provisioner`, `vote_selection` * Add `fetched_onchain_disputes` metric to provisioner * Some tracelines in dispute-coordinator TODO: cherry pick this in the initial branch!!! * Remove spammy logs * Remove some trace lines
* master: (27 commits) bump `zombienet` version to v1.3.37 (#6773) Bump `blake2b_simd` to 1.0.1 (#6829) changelog: update template for new label behavior (E3/E4) (#6804) Companion for paritytech/substrate#12828 (#6380) Don't send `ActiveLeaves` from leaves in db on startup in Overseer (#6727) Polkadot XCM Body constants (#6788) Decrease expected peer count in zombinenet tests (#6826) Additional tracing in `provisioner`, `vote_selection` and `dispute-coordinator` (#6775) Change node-key for bootnodes (#6772) Change handle_import_statements to FatalResult (#6820) Introduce XCM matcher for writing barriers (#6756) Freeze note on `SessionInfo`. (#6818) Bump parity-db (#6816) Removing Outdated References to Misbehavior Arbitration Subsystem (#6814) Forgotten re-export for `MatchedConvertedConcreteId` (#6815) Companion for substrate#13509: bump API versions of {Beefy,Mmr}Api (#6809) Migrate to `Weight::from_parts` (#6794) [XCM] Multiple `FungiblesAdapter`s support + `WeightTrader::buy_weight` more accurate error (#6739) Get rid of unnecessary cloning and work. (#6808) changelog: fix migration listing (#6806) ...
* master: (27 commits) bump `zombienet` version to v1.3.37 (#6773) Bump `blake2b_simd` to 1.0.1 (#6829) changelog: update template for new label behavior (E3/E4) (#6804) Companion for paritytech/substrate#12828 (#6380) Don't send `ActiveLeaves` from leaves in db on startup in Overseer (#6727) Polkadot XCM Body constants (#6788) Decrease expected peer count in zombinenet tests (#6826) Additional tracing in `provisioner`, `vote_selection` and `dispute-coordinator` (#6775) Change node-key for bootnodes (#6772) Change handle_import_statements to FatalResult (#6820) Introduce XCM matcher for writing barriers (#6756) Freeze note on `SessionInfo`. (#6818) Bump parity-db (#6816) Removing Outdated References to Misbehavior Arbitration Subsystem (#6814) Forgotten re-export for `MatchedConvertedConcreteId` (#6815) Companion for substrate#13509: bump API versions of {Beefy,Mmr}Api (#6809) Migrate to `Weight::from_parts` (#6794) [XCM] Multiple `FungiblesAdapter`s support + `WeightTrader::buy_weight` more accurate error (#6739) Get rid of unnecessary cloning and work. (#6808) changelog: fix migration listing (#6806) ...
* Move PVF timeouts to executor environment parameters * Typo Co-authored-by: Marcin S. <[email protected]> * Fix comments * Change handle_import_statements to FatalResult (#6820) * Changing dispute db errors to fatal * fmt * Change node-key for bootnodes (#6772) * Additional tracing in `provisioner`, `vote_selection` and `dispute-coordinator` (#6775) * Additional tracing in `provisioner`, `vote_selection` * Add `fetched_onchain_disputes` metric to provisioner * Some tracelines in dispute-coordinator TODO: cherry pick this in the initial branch!!! * Remove spammy logs * Remove some trace lines * Rename and fix things * Fix comments * Typo * Minor fixes * Add codec indexes; Remove macro --------- Co-authored-by: Marcin S. <[email protected]> Co-authored-by: Bradley Olson <[email protected]> Co-authored-by: Petr Mensik <[email protected]> Co-authored-by: Tsvetomir Dimitrov <[email protected]>
Add some additional trace logs in
provisioner
anddispute-coordinator
to make debugging easier.Add new metric in
dispute-coordinator
-fetched_onchain_disputes
. It measures how many disputes were fetched from the runtime by thedispute-coordinator
.