Troubleshoot dashboards - Amazon Managed Grafana

Troubleshoot dashboards

This documentation topic is designed for Grafana workspaces that support Grafana version 10.x.

For Grafana workspaces that support Grafana version 9.x, see Working in Grafana version 9.

For Grafana workspaces that support Grafana version 8.x, see Working in Grafana version 8.

Use the following strategies to help you troubleshoot common dashboard problems.

Dashboard is slow

  • Are you trying to render dozens (or hundreds or thousands) of time series on a graph? This can cause the browser to lag. Try using functions like highestMax (in Graphite) to reduce the number of returned series.

  • Sometimes series names can be very large. This causes larger response sizes. Try using alias to reduce the size of the returned series names.

  • Are you querying many time series or a long time range? Both of these conditions can cause Grafana or your data source to pull in a lot of data, which may slow the dashboard down. Try reducing one or both of these.

  • There could be high load on your network infrastructure. If the slowness isn’t consistent, this may be the problem.

Dashboard refresh rate issues

By default, Grafana queries your data source every 30 seconds. However, setting a low refresh rate on your dashboards puts unnecessary stress on the backend. In many cases, querying this frequently isn’t necessary because the data source isn’t sending data often enough for there to be changes every 30 seconds.

We recommend the following:

  • Only enable auto-refreshing on dashboards, panels, or variables if necessary. Users can refresh their browser manually.

  • If you require auto-refreshing, then set the refresh rate to a longer time period that makes sense, such as once a minute, every 10 minutes, or every hour.

  • Check the time range of your dashboard. If your dashboard has a longer time range, such as a week, then you really don’t need automated refreshing and you should disable it.

Handling or rendering null data is wrong or confusing

Some applications publish data intermittently; for example, they only post a metric when an event occurs. By default, Grafana graphs connect lines between the data points, but this can be deceptive.

Graphs that have the Connect null values option set to Always, will connect lines where there are missing values.

One way to fix this is to use bars instead of lines and have the No value option (under Standard options) set to 0. In this case, the missing data will show up as areas of the graph with no data.