New "User Sessions" timeline panel for the "User Diagnostics" grafana dashboard

Hello everyone :slight_smile:

I wanted to share a small addition to the Grafana dashboards that’s been really useful for us, in case it helps others too.

One thing we kept missing was an easy way to see when a specific user was running a server and for how long. There was a running-servers count, but nothing that showed the individual sessions over time.

So I put together a User Sessions panel, a timeline with one row per user and a colored bar for each period their server was running.

The best part is that it aligns perfectly with the other existing panels, so you can line them all up and correlate sessions with resource usage at a glance.

We’ve been running this in our Z2JH deployment for a few weeks now and it’s been super helpful for support and debugging.

Details, more screenshots and the code are in the issue and PR if you want to take a look or try it out:

Feedback is very welcome!
Daniel.

Hey @danifr ,

Thank you for sharing :smiley: I took some time to review your PR and have a few small suggestions, but once they are addressed this new panel is good to go and will make a great addition!