[How-to] Export Jellyfin playback stats to Prometheus and Grafana reddit / selfhosted ---------------------------------------------------------------------- datasnow · 2023-11-26 01:14 I recently spent a few days trying to figure out how to export Jellyfin user playback statistics to Prometheus. 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: https://sno.ws/jellyfin-stats I also made a [GitHub Gist](https://gist.github.com/dfsnow/aad4ec99afb413968c49efb03bdb1ab9) 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. ---------------------------------------------------------------------- Initial-Repeat9146 · 2023-11-26 01:22 Thanks for posting the writeup, I've done something similar and it was a bunch of hot glue to get started. On another note, your domain name choice is amazing. ---------------------------------------------------------------------- 22squared · 2023-11-26 20:05 Ah really nice setup and write up thanks for sharing