Skip to content

Commit e7ac547

Browse files
authored
INC-1119: add more metrics for back pressure (#450)
1 parent d32c1fc commit e7ac547

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust-arroyo/src/processing/strategies/run_task_in_threads.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ where
208208
}
209209

210210
if self.handles.len() > self.concurrency {
211+
counter!("arroyo.strategies.run_task_in_threads.too_many_handles", 1, "strategy_name" => self.metric_strategy_name);
211212
return Err(SubmitError::MessageRejected(MessageRejected { message }));
212213
}
213214

0 commit comments

Comments
 (0)