Skip to content

Commit

Permalink
change name
Browse files Browse the repository at this point in the history
  • Loading branch information
ppca committed Oct 10, 2024
1 parent 0bece62 commit b70a537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chain-signatures/node/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ pub(crate) static SIGNATURE_PUBLISH_RESPONSE_ERRORS: Lazy<CounterVec> = Lazy::ne
.unwrap()
});

pub(crate) static PROTOCOL_LATENCY_ITER_CNT: Lazy<CounterVec> = Lazy::new(|| {
pub(crate) static PROTOCOL_ITER_CNT: Lazy<CounterVec> = Lazy::new(|| {
try_create_counter_vec(
"multichain_protocol_iter_count",
"Count of multichain protocol iter",
Expand Down
2 changes: 1 addition & 1 deletion chain-signatures/node/src/protocol/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl MpcSignProtocol {
loop {
let protocol_time = Instant::now();
tracing::debug!("trying to advance chain signatures protocol");
crate::metrics::PROTOCOL_LATENCY_ITER_CNT
crate::metrics::PROTOCOL_ITER_CNT
.with_label_values(&[my_account_id.as_str()])
.inc();

Expand Down

0 comments on commit b70a537

Please sign in to comment.