grafana/docs/sources/panels/query-a-data-source/inspect-query-performance.md
Christopher Moyer 449c608ef1
Docs/panel refactor (#43569)
* new refactored panel docs

* fixed links

* removed xtra sharing link, added links to panel display option tasks

* fixed typo

* add aliases

* incorporate PM feedback

* intermediate commit to resolve merge conflict

* final changes to resolve merge conflicts
2022-01-18 15:06:27 -06:00

842 B

+++ title = "Inspect query performance" weight = 80 aliases = ["/docs/sources/panels/query-a-data-source/inspect-query-performance/"] +++

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.md" >}}).
  • [Add a query]({{< relref "../query-a-data-source/add-a-query.md" >}}).

To inspect query performance:

  1. Edit the panel that contains the query with performance you want to inspect.
  2. In the query editor, click Query Inspector.
  3. Click Stats.

Statistics are displayed in read-only format.