mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 10:02:13 +08:00

* builds out refactored setup topics * Automatically fix some relrefs with mv-manager Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Use refs for tutorials content which is outside of this repository Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Manually fix complicated relrefs Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * consolidates team sync and db encryption topics * Fix relrefs Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * updates setup index file * Convert TOML to YAML Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Add current alias for new alerting content Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Add current aliases to new setup-grafana and configure-security pages Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Update docs/sources/setup-grafana/configure-grafana/_index.md Co-authored-by: Torkel Ödegaard <torkel@grafana.com> * moves saml docs, updates order in TOC * Manually fix relrefs Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * added usage insights topics, adjusted weights * corrected relrefs * Fix relrefs broken in rebase Signed-off-by: Jack Baldry <jack.baldry@grafana.com> Co-authored-by: Jack Baldry <jack.baldry@grafana.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
38 lines
1.3 KiB
Markdown
38 lines
1.3 KiB
Markdown
---
|
|
aliases:
|
|
- /docs/grafana/latest/troubleshooting/troubleshoot-queries/
|
|
description: Guide to troubleshooting Grafana queries
|
|
keywords:
|
|
- grafana
|
|
- troubleshooting
|
|
- documentation
|
|
- guide
|
|
- queries
|
|
title: Troubleshoot queries
|
|
weight: 400
|
|
---
|
|
|
|
# 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]({{< relref "../panels/query-a-data-source/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 by` function.
|