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

Commit e151dbd

Browse files
sandreimal3mart
authored andcommitted
Update metric name and doc (#5716)
Signed-off-by: Andrei Sandu <[email protected]>
1 parent b24a6e4 commit e151dbd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

node/network/gossip-support/src/metrics.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,15 @@ impl metrics::Metrics for Metrics {
7474
fn try_register(registry: &Registry) -> Result<Self, PrometheusError> {
7575
let metrics = MetricsInner {
7676
is_authority: prometheus::register(
77-
Gauge::new("polkadot_node_is_authority", "Tracks the node authority status across sessions. \
78-
An authority is any node that is a potential block producer in a session.")?,
77+
Gauge::new("polkadot_node_is_active_validator", "Tracks if the validator is in the active set. \
78+
Updates at session boundary.")?,
7979
registry,
8080
)?,
8181
is_parachain_validator: prometheus::register(
8282
Gauge::new("polkadot_node_is_parachain_validator",
83-
"Tracks the node parachain validator status across sessions. Parachain validators are a \
84-
subset of authorities that perform approval checking of all parachain candidates in a session.")?,
83+
"Tracks if the validator participates in parachain consensus. Parachain validators are a \
84+
subset of the active set validators that perform approval checking of all parachain candidates in a session.\
85+
Updates at session boundary.")?,
8586
registry,
8687
)?,
8788
};

0 commit comments

Comments
 (0)