Please sign in to access this page

Daydream Watcher

Daydream Watcher

3 devlogs
2h 42m
•  Ship certified
Created by Mish

Tracks Daydream sign-up numbers over time! Complete with a pretty dashboard to visualize all those statistics.

Timeline

Ship 1

1 payout of shell 33.0 shells

Mish

about 1 month ago

Mish Covers 3 devlogs and 2h 42m

I added some metrics about the metrics exporter to the dashboard. I also learnt how to count the number of daydream events, so I added that to the dashboard (and some emojis because I think they actually look cool in this context).

I also wrote the all-important documentation for developing and deploying the tool.

Update attachment

I added a few command-line arguments to my tool (using argparse), to make it more flexible.

I also worked to reduce the number of unnecessary HTTP headers and URL parameter options in the request. Those that I had to keep, I moved to constants in another file, to keep the main code readable.

Update attachment

I learnt how to use the prometheus_client library in Python so that I could scrape the Daydream Sign Up Leaderboard and export it as Prometheus metrics!

I did some network request inspection to work out how to fetch the data from the Airtable view. Fortunately it wasn't too complex.

I also spent a bunch of time making a Grafana dashboard (not counted by Hackatime) to present the data :D

Update attachment