From 07d36d0dfa7bfdc7457fdde05ae31cb382af06bb Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Thu, 18 Jan 2024 15:06:17 +0100 Subject: [PATCH] fix: Rename Rust arroyo metric since it has a different unit We can also later decide to change the Python metric, but then we would have to fix dashboards outside of Snuba. --- rust-arroyo/src/processing/strategies/reduce.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rust-arroyo/src/processing/strategies/reduce.rs b/rust-arroyo/src/processing/strategies/reduce.rs index 1ce00125..e50a672c 100644 --- a/rust-arroyo/src/processing/strategies/reduce.rs +++ b/rust-arroyo/src/processing/strategies/reduce.rs @@ -177,8 +177,7 @@ impl Reduce { return Ok(()); } - // FIXME: this used to be in seconds - timer!("arroyo.strategies.reduce.batch_time", batch_time); + timer!("arroyo.strategies.reduce.batch_time.ms", batch_time); let batch_state = mem::replace( &mut self.batch_state,