savedqueries

Official

Manage saved metric queries across the UI.

Authorgrafana
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Centralizes management of saved queries for metrics-drilldown, enabling consistent discovery, storage, and retrieval of user-defined queries.

Core Features & Use Cases

  • Query discovery and validation with findExistingQuery, useHasSavedQueries, and useSavedQueries to locate and manage saved queries.
  • State persistence and refresh capabilities through refresh and narrowing of queries via narrowSavedQuery.
  • UI integration with SaveQueryModal and related components to create, edit, and present saved queries within the app.

Quick Start

Start by reviewing the SavedQueries utilities in src/shared/savedQueries to understand how queries are found, stored, and refreshed.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: savedqueries
Download link: https://github.com/grafana/metrics-drilldown/archive/main.zip#savedqueries

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.