mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 00:52:11 +08:00

* refactors config panels and visualizations, corrects relrefs * adds an alias * Remove some old content * moves visualizations topic to the root * moves out panels and visualization topics to the root * adds move and resize panel to add/organize panel; creates a create dashboard topic under build dashboards; adjusts context of add a panel to be from within an existing dashboard * updates aliases * creates search at root, moves dashboard preview to search, creates standalone search dashboard topic * moves Set dashboard time range to use-dashboards, creates modify dashboard settings and adds moves Modify dashboard time settings to that topic * moves existing query-options topic from working with panels to configure-panel-visualizations, moves panel time overrides and timeshift content to query options * Moving things to better category, fixing links, improving ordering * Move panel inspector to main panel topic * completes partial fix of relrefs * relref fixes con't * restructures remaining panels topics * more relref fixes * Minor fix * Minor tweak * finishes fixing relrefs Co-authored-by: Torkel Ödegaard <torkel@grafana.com> Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
39 lines
1.4 KiB
Markdown
39 lines
1.4 KiB
Markdown
---
|
|
aliases:
|
|
- /docs/grafana/latest/troubleshooting/troubleshoot-queries/
|
|
- /docs/grafana/latest/panels-visualizations/query-transform-data/troubleshoot-queries/
|
|
description: Guide to troubleshooting Grafana queries
|
|
keywords:
|
|
- grafana
|
|
- troubleshooting
|
|
- documentation
|
|
- guide
|
|
- queries
|
|
title: Troubleshoot queries
|
|
weight: 200
|
|
---
|
|
|
|
# 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 "../../panel-inspector/#inspect-query-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.
|