Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaoticTempest committed Feb 10, 2025
1 parent 817c224 commit 86991af
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions chain-signatures/node/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,15 @@ pub(crate) static NODE_VERSION: LazyLock<IntGaugeVec> = LazyLock::new(|| {
.unwrap()
});

pub(crate) static NUM_TOTAL_HISTORICAL_TRIPLE_GENERATORS: LazyLock<CounterVec> = LazyLock::new(|| {
try_create_counter_vec(
"multichain_num_total_historical_triple_generators",
"number of all triple generators historically on the node",
&["node_account_id"],
)
.unwrap()
});
pub(crate) static NUM_TOTAL_HISTORICAL_TRIPLE_GENERATORS: LazyLock<CounterVec> =
LazyLock::new(|| {
try_create_counter_vec(
"multichain_num_total_historical_triple_generators",
"number of all triple generators historically on the node",
&["node_account_id"],
)
.unwrap()
});

pub(crate) static NUM_TOTAL_HISTORICAL_TRIPLE_GENERATORS_SUCCESS: LazyLock<CounterVec> =
LazyLock::new(|| {
Expand Down Expand Up @@ -355,14 +356,15 @@ pub(crate) static FAILED_SEND_ENCRYPTED_LATENCY: LazyLock<HistogramVec> = LazyLo
.unwrap()
});

pub(crate) static NUM_TOTAL_HISTORICAL_SIGNATURE_GENERATORS: LazyLock<CounterVec> = LazyLock::new(|| {
try_create_counter_vec(
"multichain_num_total_historical_signature_generators",
"number of all signature generators historically on the node",
&["node_account_id"],
)
.unwrap()
});
pub(crate) static NUM_TOTAL_HISTORICAL_SIGNATURE_GENERATORS: LazyLock<CounterVec> =
LazyLock::new(|| {
try_create_counter_vec(
"multichain_num_total_historical_signature_generators",
"number of all signature generators historically on the node",
&["node_account_id"],
)
.unwrap()
});

pub(crate) static TRIPLE_GENERATOR_FAILURES: LazyLock<CounterVec> = LazyLock::new(|| {
try_create_counter_vec(
Expand Down

0 comments on commit 86991af

Please sign in to comment.