I'm learning how to use Graphana with InfluxDB. I've prepared a simple example that displays a graph with the number of letter occurrences across time. I use simple InfluxDB measurement with one tag letter
and one field count
. To display data I use the query:
SELECT mean("count")
FROM "lettersCount"
WHERE ("letter" =~ /^$letter$/) AND $timeFilter
GROUP BY time($interval), "letter"
E.g.
But as you might see in my example some of the series are a bit shorter (letter 'p' on my example) because there was no occurrence of that letter at that moment.
I'm looking for a way to display previous value if there was no measurement.