Docs: Add and organize panels (#51763)

* combines topics into add and organize panels topic

* updates front matter

* fixes relrefs

* fixes typo

* Update docs/sources/dashboards/add-organize-panels.md

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* Update docs/sources/dashboards/add-organize-panels.md

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* make prettier

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
Christopher Moyer
2022-07-05 12:59:17 -05:00
committed by GitHub
co-authored by Torkel Ödegaard
parent 4fa606c600
commit e4bf7ddefe
29 changed files with 118 additions and 221 deletions
@@ -14,7 +14,6 @@ A query returns data that Grafana visualizes in dashboards. When you create a pa
- [Add a data source](../../../datasources/add-a-data-source).
- Ensure that you know the query language of the data source.
- [Add a panel]({{< relref "../working-with-panels/add-panel/" >}}).
**To add a query**:
@@ -10,13 +10,6 @@ weight: 70
Grafana generates a CSV file that contains your data, including any transformations to that data. You can choose to view the data before or after the panel applies field options or field option overrides.
## Before you begin
- [Add a panel to a dashboard]({{< relref "../working-with-panels/add-panel/" >}}).
- [Add a query]({{< relref "add-a-query/" >}}).
**To download raw query results**:
1. Edit the panel that contains the query data you want to download.
1. In the query editor, click **Query Inspector**.
1. Click **Data**.
@@ -10,13 +10,6 @@ weight: 80
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**.
@@ -10,13 +10,6 @@ weight: 90
Inspect query request and response data when you want to troubleshoot a query that returns unexpected results, or fails to return expected results.
## 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 request and response data**:
1. Edit the panel that contains the query you want to export.
1. In the query editor, click **Query Inspector**.
1. Click **Refresh**.
@@ -14,9 +14,7 @@ The Dashboard data source lets you select a panel in your dashboard that contain
This strategy can drastically reduce the number of queries being made when you for example have several panels visualizing the same data.
**To share data source queries with another panel**:
1. [Add a panel to a dashboard]({{< relref "../working-with-panels/add-panel/" >}}).
1. [Create a dashboard and add a panel]({{< relref "../../dashboards/add-organize-panels/#create-a-dashboard-and-add-a-panel" >}}).
1. Change the title to "Source panel". You'll use this panel as a source for the other panels.
1. Define the [query]({{< relref "add-a-query/" >}}) or queries that you want share.
@@ -12,12 +12,6 @@ If your data source supports them, then Grafana displays the **Expression** butt
For more information about expressions, refer to [About expressions]({{< relref "about-expressions/" >}}).
## Before you begin
- [Add a panel]({{< relref "../../working-with-panels/add-panel/" >}}).
**To write an expression**:
1. Open the panel.
1. Below the query, click **Expression**.
1. In the **Operation** field, select the type of expression you want to write.