This is an automated archive made by the Lemmit Bot.
The original was posted on /r/selfhosted by /u/datasnow on 2023-11-26 02:14:49.
I recently spent a few days trying to figure out how to export Jellyfin user playback statistics to Prometheus (and then Grafana). Jellystat and other dedicated apps didn’t give me quite what I wanted, so I ended up combining the Jellyfin REST API, the Playback Reporting Plugin, and the Prometheus JSON exporter.
Getting everything to play well was a huge pain in the ass, but the result is stable, simple, and works extremely well. I figured other people might find this useful, so I wrote it up as a short guide:
I also made a GitHub Gist with all the relevant bits in case you’re not interested in reading a whole post. Hopefully this saves others on a similar mission some trouble.