mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 03:11:49 +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>
25 lines
889 B
Markdown
25 lines
889 B
Markdown
---
|
|
aliases:
|
|
- /docs/grafana/latest/panels/query-a-data-source/inspect-query-performance/
|
|
- /docs/sources/panels/query-a-data-source/inspect-query-performance/
|
|
title: Inspect query performance
|
|
weight: 80
|
|
---
|
|
|
|
# Inspect query performance
|
|
|
|
The **Stats** tab displays statistics that tell you how long your query takes, how many queries you send, and the number of rows returned. This information can help you troubleshoot your queries, especially if any of the numbers are unexpectedly high or low.
|
|
|
|
## Before you begin
|
|
|
|
- [Add a panel to a dashboard]({{< relref "../working-with-panels/add-panel/" >}}).
|
|
- [Add a query]({{< relref "add-a-query/" >}}).
|
|
|
|
**To inspect query performance**:
|
|
|
|
1. Edit the panel that contains the query with performance you want to inspect.
|
|
1. In the query editor, click **Query Inspector**.
|
|
1. Click **Stats**.
|
|
|
|
Statistics are displayed in read-only format.
|