Showing a current time 'line'

Is it possible to add a (moving) ‘current time’ line on graph.

I’m showing prediction together with the actual measurements. Having a ‘current time’ line is important for the clarity of the graph

example:

That is a very cool concept, but I have never seen anything like that in Grafana.

2 Likes

Using SQL Server as a data source I added this annotation (json model)

{
        "datasource": "SQLServer",
        "enable": true,
        "hide": true,
        "iconColor": "#ff0000",
        "name": "now",
        "rawQuery": "SELECT sysdatetimeoffset() as time, 'now' as text",
        "showIn": 0
      }
1 Like