New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add metrics related to the epoch, sync state and node version #6004
Conversation
* Protocol version supported by the node * DB version expected by the node * Header head to complement the existing "block head" metric * Sync status of the node * And the expected height of the protocol upgrade
# Conflicts: # nearcore/src/runtime/mod.rs
pub static PROTOCOL_UPGRADE_BLOCK_HEIGHT: Lazy<IntGauge> = Lazy::new(|| { | ||
try_create_int_gauge( | ||
"near_protocol_upgrade_block_height", | ||
"Estimated block height of the protocol upgrade", |
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.
Just curious, what's the purpose for this metric?
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.
It lets validators set alerts about an imminent protocol upgrade. Multiple validators expressed interest in this alert.
# Conflicts: # chain/client/src/client_actor.rs # chain/client/src/info.rs # chain/client/src/metrics.rs
Adds the following metrics to the node: