Plotting time difference on table panel of grafana

grafana
influxql
#1

I am working on Grafana and wanted to plot the difference between now() and the last timestamp of my measurement on a table column. I understand that if I implement a table it shows the timestamps, but I cant have an operation between the last timestamp and the actual current time.

So, can i have something like now()-last(time) in the select statement and then plot the difference on the table ?

1 Like