explore-datasources

Discover Grafana datasources, metrics, and logs for monitoring coverage.

535|42|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/grafana/gcx --skill explore-datasources
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: explore-datasources
Source: https://github.com/grafana/gcx/tree/main/claude-plugin/skills/explore-datasources
Command: npx skills add https://github.com/grafana/gcx --skill explore-datasources

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps you uncover what datasources, metrics, labels, and log streams exist in a Grafana instance to plan data-driven investigations.

Core Features & Use Cases

  • Datasource discovery: List and inspect available datasources to identify where data lives.
  • Metadata and labels: Retrieve metrics metadata and label values to understand data structure and monitoring coverage.
  • Use Case: When asked to find data sources for a new dashboards or alerts, use this skill to identify appropriate datasources and relevant queries.

Quick Start

Start by listing datasources and then explore metrics and logs to map data coverage.

Frequently Asked Questions about explore-datasources

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list available Grafana datasources to find where my metrics and logs live?

To list available Grafana datasources, you can discover datasources in a Grafana instance to identify where your metrics and logs data resides. This process reveals datasource UIDs and types for planning data-driven investigations.

What is the best way to find metric labels and log streams across Prometheus and Loki in Grafana?

Finding metric labels and log streams across Prometheus and Loki involves retrieving metadata and label values from your Grafana datasources. This helps you understand data structure and assess monitoring coverage across different environments.

Can I use Grafana datasource discovery to check which services are monitored across environments?

Yes, you can use Grafana datasource discovery to check which services are monitored across environments. By listing datasources and retrieving metadata, you can assess monitoring coverage across Prometheus, Loki, and other configured data sources.

How do I get a datasource UID in Grafana for building new dashboards and alerts?

To get a datasource UID in Grafana for new dashboards and alerts, you list and inspect available datasources within the instance. This discovery process identifies the appropriate datasource UID required for your follow-on queries.

Does Grafana datasource discovery support reading metadata to guide follow-on queries?

Yes, Grafana datasource discovery supports reading metadata and labels to guide follow-on queries. It retrieves metrics metadata and label values to help you understand data structure and plan appropriate query strategies for investigations.

What should I do if I cannot locate a suitable datasource for my Grafana metrics and logs?

If you cannot locate a suitable datasource for your Grafana metrics and logs, use datasource discovery to inspect available instances and retrieve metadata. This maps your data coverage to identify the correct datasource UID for your needs.