Fix metric names

This commit is contained in:
Riordan Panayides 2023-06-23 15:51:26 +01:00
parent 61dfa18277
commit 9c98144a57
1 changed files with 2 additions and 2 deletions

View File

@ -246,9 +246,9 @@ pub async fn init(
async_channel::Receiver<OrderbookFilterMessage>,
)> {
let mut metric_book_events_new =
metrics_sender.register_u64("orderbook_updates".into(), MetricType::Counter);
metrics_sender.register_u64("orderbook_book_updates".into(), MetricType::Counter);
let mut metric_level_events_new =
metrics_sender.register_u64("level_updates".into(), MetricType::Counter);
metrics_sender.register_u64("orderbook_level_updates".into(), MetricType::Counter);
// The actual message may want to also contain a retry count, if it self-reinserts on failure?
let (account_write_queue_sender, account_write_queue_receiver) =