Catch crosshair timestamp value in my plugin

I need to create a plugin to follow the timestamp of crosshair red vertical cursor. The goal is to show the exact frame in a video for this timestamp.

Can a plugin lesson to the crosshair timestamp value?

Unfortunately, there’s no easy way to do this at the moment. In more recent versions of Grafana, you should be able to use the new event bus to subscribe to hover events.

Here’s an example from the built-in graph component:

1 Like