Skip to content

Commit

Permalink
fix(collator): fixed calculated int msgs queue length
Browse files Browse the repository at this point in the history
  • Loading branch information
SmaGMan committed Jun 19, 2024
1 parent 0e5b238 commit b93c095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collator/src/collator/do_collate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ impl CollatorStdImpl {
.increment(collation_data.int_enqueue_count as _);
metrics::counter!("tycho_do_collate_int_dequeue_count")
.increment(collation_data.int_dequeue_count as _);
metrics::gauge!("tycho_do_collate_int_msgs_queue_calc", labels).increment(
metrics::gauge!("tycho_do_collate_int_msgs_queue_calc").increment(
(collation_data.int_enqueue_count as i64 - collation_data.int_dequeue_count as i64)
as f64,
);
Expand Down

0 comments on commit b93c095

Please sign in to comment.