metrics-graphana

Query and manage Grafana dashboards and Prometheus metrics via grafanactl CLI.

23.2k|2.0k|Updated Jul 18, 2025
One-click install
npx skills add https://github.com/slopus/happy --skill metrics-graphana
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrics-graphana
Source: https://github.com/slopus/happy/tree/main/.agents/skills/metrics-graphana
Command: npx skills add https://github.com/slopus/happy --skill metrics-graphana

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires grafanactl, python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the need for querying and managing Grafana dashboards and Prometheus metrics within the Happy infrastructure, streamlining observability and monitoring tasks.

Core Features & Use Cases

  • Grafana Dashboard Management: Export, import, and edit Grafana dashboards using grafanactl CLI.
  • Prometheus Metrics Querying: Execute direct Prometheus queries through Grafana proxy for live metrics investigation.
  • Dashboard-as-Code Workflows: Support for managing dashboards programmatically, facilitating repeatable and maintainable configurations.
  • Use Case: When you need to analyze server performance metrics, view Grafana dashboards, or troubleshoot issues related to monitoring in the Happy infrastructure.

Quick Start

Run 'happy metrics-graphana query "service_status{service="database"}' to check the status of the database service.

Frequently Asked Questions about metrics-graphana

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

FAQPage Schema
How do I query Prometheus metrics through Grafana for infrastructure monitoring?

You can query Prometheus metrics through Grafana by executing direct queries via the Grafana proxy. This allows you to retrieve live metrics for investigating and monitoring infrastructure performance.

What is the best way to manage Grafana dashboards as code?

Managing Grafana dashboards as code is handled by using the grafanactl CLI to export, import, and edit dashboards programmatically. This approach facilitates repeatable and maintainable dashboard configurations.

Do I need grafanactl to export and import Grafana dashboards?

Yes, grafanactl is a required dependency for exporting and importing Grafana dashboards. The Skill automates these CLI commands to manipulate dashboards within the Happy infrastructure.

Can I check specific service status using Prometheus metrics in Happy infrastructure?

Yes, you can check specific service status by running targeted Prometheus queries through the Grafana proxy, such as querying service_status metrics to monitor database or server health.

What are the limitations of using grafanactl for dashboard management?

This Skill is specifically designed for querying and managing Grafana dashboards and Prometheus metrics within the Happy infrastructure, so its dashboard-as-code workflows are tailored to that environment.