grafana

Installation
SKILL.md

grafana

Purpose

Grafana is an open-source platform for visualizing and querying metrics, logs, and traces from various data sources. It enables users to create interactive dashboards, set up alerts, and explore data to monitor systems effectively.

When to Use

Use Grafana when you need to build custom dashboards for real-time monitoring of infrastructure, applications, or services. It's ideal for scenarios involving observability, such as tracking Kubernetes metrics, analyzing server logs, or correlating traces in distributed systems. Avoid it for simple static reporting; opt for it when dynamic querying and visualization are required.

Key Capabilities

  • Create and manage dashboards with panels for graphs, tables, and gauges.
  • Integrate with data sources like Prometheus, Loki, Elasticsearch via plugins.
  • Set up alerting rules based on thresholds for metrics or logs.
  • Support for ad-hoc queries and exploration using query languages like PromQL.
  • Role-based access control (RBAC) for securing dashboards and data.
  • Export/import dashboards in JSON format for versioning.

Usage Patterns

To run Grafana as a server, start it with a configuration file: specify the config path and bind to a port. For automation, use the API to create dashboards programmatically. Common pattern: Ingest data from Prometheus, then query it via Grafana's UI or API. For CI/CD, embed Grafana in workflows to generate dashboards on-the-fly. Always run it in a containerized environment for scalability, e.g., using Docker with the official image.

Related skills
Installs
24
GitHub Stars
5
First Seen
Mar 7, 2026