Error Budget: Analytics::CycleAnalytics::ReaggregationWorker timing out
Problem
Analytics::CycleAnalytics::ReaggregationWorker
is occasionally timing out (exceeding 300s), resulting in a spend in error budget.
Solution
First attempt (this issue):
- Reduce
MAX_RUNTIME
to 200s - In the
DataLoaderService
reduce theMAX_UPSERT_COUNT
to 25000
If that's not enough:
- Inject the
runtime_limiter
into theDataLoaderService
to make the over time check more accurate.
Edited by Adam Hegyi