mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-30 20:52:12 +08:00
fix: typo spelling "gauge"
This commit is contained in:
@@ -33,11 +33,11 @@ mod prometheus;
|
||||
#[cfg(feature = "monitoring_prom")]
|
||||
mod server;
|
||||
|
||||
/// Update stacks tip height guage
|
||||
/// Update stacks tip height gauge
|
||||
#[allow(unused_variables)]
|
||||
pub fn update_stacks_tip_height(height: i64) {
|
||||
#[cfg(feature = "monitoring_prom")]
|
||||
prometheus::STACKS_TIP_HEIGHT_GUAGE.set(height);
|
||||
prometheus::STACKS_TIP_HEIGHT_GAUGE.set(height);
|
||||
}
|
||||
|
||||
/// Update the current reward cycle
|
||||
|
||||
@@ -22,7 +22,7 @@ use prometheus::{
|
||||
};
|
||||
|
||||
lazy_static! {
|
||||
pub static ref STACKS_TIP_HEIGHT_GUAGE: IntGauge = register_int_gauge!(opts!(
|
||||
pub static ref STACKS_TIP_HEIGHT_GAUGE: IntGauge = register_int_gauge!(opts!(
|
||||
"stacks_signer_stacks_node_height",
|
||||
"The current height of the Stacks node"
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user