grafana-observability

Query Grafana dashboards, Prometheus metrics, and Loki logs programmatically.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/dgethings/netclaw --skill grafana-observability-dgethings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grafana-observability
Source: https://github.com/dgethings/netclaw/tree/main/workspace/skills/grafana-observability
Command: npx skills add https://github.com/dgethings/netclaw --skill grafana-observability-dgethings

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Grafana observability tasks can be automated and queried programmatically, enabling faster access to dashboards, Prometheus metrics, and Loki logs without manual navigation.

Core Features & Use Cases

  • Query Grafana dashboards by title or UID and retrieve summaries or full dashboards for analysis.
  • Run Prometheus (PromQL) queries and fetch metric metadata to monitor interface metrics, workloads, and alerts.
  • Search Loki logs, annotate incidents, and correlate events with dashboards for faster incident investigation.
  • Manage Grafana alert rules and incidents, including OnCall schedules and annotations, to streamline response workflows.

Quick Start

Use the grafana-observability skill to query dashboards, metrics, and logs from your Grafana instance using uvx mcp-grafana.

Frequently Asked Questions about grafana-observability

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

FAQPage Schema
How do I automate Grafana dashboard discovery and metric querying?

To automate Grafana dashboard discovery and metric querying, you can programmatically retrieve dashboards by title or UID and execute Prometheus PromQL queries. This provides direct metric access without manual Grafana web navigation.

What is needed to query Loki logs and Grafana metrics programmatically?

Querying Loki logs and Grafana metrics programmatically requires Grafana 9.0 or higher, a service account with Editor RBAC permissions, and the GRAFANA_URL and GRAFANA_SERVICE_ACCOUNT_TOKEN environment variables configured for authentication.

Can I manage Grafana alert rules and OnCall schedules through an API?

Yes, you can manage Grafana alert rules and OnCall schedules programmatically. This allows you to automate incident response workflows, configure alerts, and add annotations to coordinate on-call management without manual UI intervention.

How does programmatic access to Grafana work for incident investigation?

Programmatic access for incident investigation works by searching Loki logs, annotating incidents, and correlating events with relevant dashboards. This accelerates root cause analysis by automating data retrieval across metrics and logs.

What transports are supported for Grafana observability automation?

Grafana observability automation supports stdio, SSE (Server-Sent Events), and streamable-http transports. These options provide flexible integration methods for executing PromQL queries and dashboard retrieval across different runtime environments.