mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
fix(metrics): set chain_spec gauge value (#22764)
This commit is contained in:
@@ -14,6 +14,7 @@ impl ChainSpecInfo {
|
||||
let labels: [(&str, String); 1] = [("name", self.name.clone())];
|
||||
|
||||
describe_gauge!("chain_spec", "Information about the chain");
|
||||
let _gauge = gauge!("chain_spec", &labels);
|
||||
let gauge = gauge!("chain_spec", &labels);
|
||||
gauge.set(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user