add queue wait histogram, oldest queued age, in-flight cache#29
Conversation
Current Aviator status
This PR was merged using Aviator. Stack
See the real-time status of this PR on the
Aviator webapp.
Use the Aviator Chrome Extension
to see the status of your PR within GitHub.
|
There was a problem hiding this comment.
Code Review
This pull request adds tracking for in-flight Celery tasks to monitor queue wait times and the age of the oldest queued tasks, introducing new Prometheus metrics and CLI configuration for cache management. The implementation includes logic to handle task lifecycle events and manage an in-flight task cache. Feedback focused on potential performance bottlenecks during metric collection from the large cache and suggested an optimization for the TTL check using the chronological properties of the data structure.
1ef918f to
7daa335
Compare
4991434 to
998471f
Compare
7daa335 to
251d0a0
Compare
40e63c0 to
dcf687d
Compare
dcf687d to
8d86f95
Compare
405ed0f to
00c8199
Compare
closes queue-wait and stuck-task blindspots