Please sign in to access this page
An analytics dashboard for GOV.UK, using publicly-available data and a custom Prometheus metrics exporter.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I was looking at the graphs produced by my program and noticed a sawtooth shape (shown in yellow below), caused by the GOV.UK reporting varying during each minute.
I fixed this by ensuring the script always fetches data on the minute.
I created a Prometheus metric exporter in Python that yoinks data from the govuk-display-screen API every few seconds and exports them as metrics.
I also learnt how to use Logfire for pushing my logs to the cloud for better observability, or something. That was pretty fun but I'd probably rather use something self-hosted.
Oh yeah, I also improved CLI option handling and wrote some documentation!