Manage queries

Queries are organized in collapsible query rows. Each query row contains a query editor and is identified with a letter (A, B, C, and so on).

You can:

IconDescription
Manage queries - 图1
Toggle query editor help. If supported by the data source, click this icon to display information on how to use the query editor or provide quick access to common queries.
Manage queries - 图2
Copy a query. Duplicating queries is useful when working with multiple complex queries that are similar and you want to either experiment with different variants or do minor alterations.
Manage queries - 图3
Hide a query. Grafana does not send hidden queries to the data source.
Manage queries - 图4
Remove a query. Removing a query permanently deletes it, but sometimes you can recover deleted queries by reverting to previously saved versions of the panel.
Manage queries - 图5
Reorder queries. Change the order of queries by clicking and holding the drag icon, then drag queries where desired. The order of results reflects the order of the queries, so you can often adjust your visual results based on query order.