Please sign in to access this page

GOV.UK watcher

GOV.UK watcher

2 devlogs
2h 21m
Created by Mish

An analytics dashboard for GOV.UK, using publicly-available data and a custom Prometheus metrics exporter.

Timeline

Earned sticker
Mish
Mish
1h 12m 12 days ago

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.

Update attachment
Mish Mish 12 days ago

Oh yeah, I also improved CLI option handling and wrote some documentation!

Earned sticker

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.

Update attachment