fix: typo spelling "gauge"

This commit is contained in:
Hank Stoever
2024-04-29 16:44:27 -07:00
parent 9154bb7935
commit 7318f5fd74
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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"
))