Docs: Add saved queries for annotations (#113302)
This commit is contained in:
+10
-2
@@ -148,10 +148,18 @@ To add a new annotation query to a dashboard, follow these steps:
|
||||
|
||||
{{< figure src="/media/docs/grafana/dashboards/screenshot-annotation-filtering-10-v2.png" max-width="600px" caption="Annotation filtering" >}}
|
||||
|
||||
1. Configure the query.
|
||||
1. To add a query, do one of the following:
|
||||
- Write or construct a query in the query language of your data source. The annotation query options are different for each data source. For information about annotations in a specific data source, refer to the specific [data source](ref:data-source) topic.
|
||||
- Click **+ Add from saved queries** to reuse a saved query.
|
||||
- Click the **Replace with saved query** button (or icon) to reuse a saved query.
|
||||
|
||||
The annotation query options are different for each data source. For information about annotations in a specific data source, refer to the specific [data source](ref:data-source) topic.
|
||||
1. (Optional) To [save the query](ref:save-query) for reuse, click the **Save query** button (or icon).
|
||||
|
||||
{{< admonition type="note" >}}
|
||||
[Saved queries](ref:saved-queries) is in [public preview](https://grafana.com/docs/release-life-cycle/) in Grafana Enterprise and Cloud only.
|
||||
{{< /admonition >}}
|
||||
|
||||
1. (Optional) Click **Test annotation query** to ensure that the query is working properly.
|
||||
1. Click **Save dashboard**.
|
||||
1. Click **Back to dashboard** and **Exit edit**.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user