mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 04:01:10 +00:00
Remove Prometheus metrics prefix (#9543)
* Remove Prometheus metrics prefix * Fix line widths * Missed some metrics * Fix CLI * Run rustfmt on modified files * Missing prefixes * Hopefully fix compilation * Rustfmt protocol.rs * Should compile now I guess * Rustfmt Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -56,14 +56,14 @@ impl Metrics {
|
||||
Ok(Self {
|
||||
block_constructed: register(
|
||||
Histogram::with_opts(HistogramOpts::new(
|
||||
"proposer_block_constructed",
|
||||
"substrate_proposer_block_constructed",
|
||||
"Histogram of time taken to construct new block",
|
||||
))?,
|
||||
registry,
|
||||
)?,
|
||||
number_of_transactions: register(
|
||||
Gauge::new(
|
||||
"proposer_number_of_transactions",
|
||||
"substrate_proposer_number_of_transactions",
|
||||
"Number of transactions included in block",
|
||||
)?,
|
||||
registry,
|
||||
|
||||
Reference in New Issue
Block a user