Skip to content

Implement a view of the AMQP queue length - #28

Merged
Hyask merged 2 commits into
mainfrom
skia/better_status
Jul 21, 2026
Merged

Implement a view of the AMQP queue length#28
Hyask merged 2 commits into
mainfrom
skia/better_status

Conversation

@Hyask

@Hyask Hyask commented Jul 21, 2026

Copy link
Copy Markdown
Member

This is motivated by having such a view built-in, so as not to rely on some infrastructure Grafana. Grafana is great to see details and make deep analysis, but is also external to the system, needs to be configured, and can fail independently. A simple built-in view helps the Error Tracker operators always have at least one simple view at hand to quickly assess how the system is behaving.

@Hyask
Hyask force-pushed the skia/better_status branch from aff94ba to 36359ac Compare July 21, 2026 07:40
Hyask added 2 commits July 21, 2026 10:17
Add a new view at /retracers-queue-length/ showing retracer AMQP queue
lengths over the last 48 hours.
Data is collected using a new timer (`record_queue_lengths.py`), and
stored in Cassandra's `Indexes` table.

Mostly made by DeepSeek V4 Flash using the following prompt:
```
In the `errors` app, similar to `views.retracers_results`, implement a
new view showing the length of the `retracer` AMQP queue over time for
the last 2 days.
```
@Hyask
Hyask force-pushed the skia/better_status branch from 36359ac to c02f648 Compare July 21, 2026 08:18
@Hyask
Hyask merged commit 525d0c2 into main Jul 21, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant