Save, reuse, and share queries in Dashboards and Explore
We’ve introduced the ability to save queries in Dashboards and Explore! With this addition, you can save and reuse queries, as well as share them with others in your organization.
From Dashboards and Explore, save custom queries:

Or populate the query editor with a previously saved entry:

In the Saved queries drawer, you can edit, search, and filter to find saved queries. Click the star next to a query to easily access it in the Favorites tab. You can also set queries to be shared with others in your organization:

Lastly, you can add queries you’ve run in the past two weeks to your saved queries from the Query history tab in Explore.
This feature is in public preview and is only available on Grafana Enterprise and Cloud accounts. This feature will gradually roll out to all Grafana Cloud users over the next few days with no action required. To try out this feature on Grafana Enterprise, enable the queryLibrary
feature toggle.