Show time difference between particular records

Hi All,

I’m using InfluxDB 2.0 and I’m struggling to find a way to display the difference in time between certain “feeds” of data. Let’s assume that I source data every 5 min and I’d like to highlight the records that haven’t been reported for e.g. 10 minutes. I was experimenting with elapsed() function but it doesn’t give me what I want.

I’d be very grateful for any advise