Hi @ryantxu, this discrete panel is such a powerfull and usefull visualisation tool, I could only assume that the plan was to integrate this as a standard panel in Grafana. So great job!
Anyhow, this is my input on the features I find very usefull:
hover tooltip (including msg,from,to,duration)
color mapping: mainly 2 scenario’s:
- limited amount of different “states” (typical example: state of a machine: running, stopped,idle,…) → manual color mapping (you want green for running state )
- lots of different “states/events” (typical example: stop reasons for the same machine → auto color
this last case was the reason why I started this thread. I was missing the possibility to assign a specific color to a group of stop reasons. The use of regex inside the color mapping would 've helped me a lot I think.
I’ve seen that in the new built-in panel there’s also a single color option. I think this will also be very usefull .
Possible scenario: I sometimes use annotations to show events, but if you zoom out then these annotation lines become very overwhelming and taking over the whole screen. 1 single color state timeline panel with shared crosshair enabled could be a very nice alternative.