mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-01 01:01:01 +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:
@@ -404,19 +404,19 @@ impl Metrics {
|
||||
) -> Result<Self, PrometheusError> {
|
||||
Ok(Self {
|
||||
finality_grandpa_round: register(
|
||||
Gauge::new("finality_grandpa_round", "Highest completed GRANDPA round.")?,
|
||||
Gauge::new("substrate_finality_grandpa_round", "Highest completed GRANDPA round.")?,
|
||||
registry,
|
||||
)?,
|
||||
finality_grandpa_prevotes: register(
|
||||
Counter::new(
|
||||
"finality_grandpa_prevotes_total",
|
||||
"substrate_finality_grandpa_prevotes_total",
|
||||
"Total number of GRANDPA prevotes cast locally.",
|
||||
)?,
|
||||
registry,
|
||||
)?,
|
||||
finality_grandpa_precommits: register(
|
||||
Counter::new(
|
||||
"finality_grandpa_precommits_total",
|
||||
"substrate_finality_grandpa_precommits_total",
|
||||
"Total number of GRANDPA precommits cast locally.",
|
||||
)?,
|
||||
registry,
|
||||
|
||||
Reference in New Issue
Block a user