Stat widget mini graph discrepancy

  • What Grafana version and what operating system are you using?
    9.5.19 (Hosted on Azure)

  • What are you trying to achieve?
    Trying to use stat widget to show availability of the service.

  • How are you trying to achieve it?
    Writing a kql-M query to calculate the availability.

  • What happened?
    The stat says 100%, but the graph shows a dip.

  • What did you expect to happen?
    If I select “Table view” in the stat widget, for few hours it shows the availability as 99.7. Seems like when it sums all the availability in the time series, its rounding up to 100. I was expecting the actual value and round it up.

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

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

Stat widget discrepancy

The table view.

shows few hours it was at 99.9.

Welcome @kasubram to the Grafana forum.

Is the Calculation (on the right) set to Last, Mean, or something else?


table view for above: