How to visualize counted timeseries data?

  • What Grafana version and what operating system are you using?

Grafana v9.1.0 (82e32447b4)

  • What are you trying to achieve?

Visualize counted timeseries data

  • How are you trying to achieve it?

Use Time series panel type with the following query:

count(count_over_time({app="app"} | json | event = `123` [$__interval]))

Also set Decimals option in Standard options section to 0 to prevent showing decimal points

  • What happened?

The panel is showing int numbers multiple times in y axis as shown in the screenshot below:

  • What did you expect to happen?

As currently it only showing one bar with the value of 2, I expect y axis to simply have only the starting value of 0, and highest value of 2.

  • Can you copy/paste the configuration(s) that you are having problems with?

The query above.

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.


  • Did you follow any online instructions? If so, what is the URL?