Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/visualizations/panels-visualizations/query-transform-data/troubleshoot-queries.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/visualizations/panels-visualizations/query-transform-data/troubleshoot-queries/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Troubleshoot queries
This page provides information to solve common dashboard problems.
I get different results when I rearrange my functions
Function order is very important. Just like in math, the order that you place your functions can affect the result.
Inspect your query request and response
The most common problems are related to the query and response from your data source. Even if it looks like a bug or visualization issue in Grafana, it is almost always a problem with the data source query or the data source response. Start by inspecting your panel query and response.
For more information, refer to Inspect request and response data.
My query is slow
How many data points is your query returning? A query that returns lots of data points will be slow. Try this:
- In Query options, limit the Max data points returned.
- In Query options, increase the Min interval time.
- In your query, use a
group byfunction.
Was this page helpful?
Related resources from Grafana Labs


