grafana

Grafana dashboards and visualization for metrics. Use for observability.

7 stars

Best use case

grafana is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Grafana dashboards and visualization for metrics. Use for observability.

Teams using grafana should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/grafana/SKILL.md --create-dirs "https://raw.githubusercontent.com/G1Joshi/Agent-Skills/main/skills/devops/grafana/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/grafana/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How grafana Compares

Feature / AgentgrafanaStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Grafana dashboards and visualization for metrics. Use for observability.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Grafana

Grafana is the visualization layer for Observability. Grafana 11 (2025) introduces **Scenes** (dynamic dashboards) and deeper correlation between Metrics, Logs, and Traces.

## When to Use

- **Dashboards**: Visualize data from Prometheus, InfluxDB, CloudWatch, SQL, etc.
- **Single Pane of Glass**: Combine metrics (Prometheus), logs (Loki), and traces (Tempo) in one UI.
- **Alerting**: Unified alerting UI regardless of the data source.

## Quick Start

Run via Docker:
`docker run -d -p 3000:3000 grafana/grafana`

Or Provision as Code (YAML):

```yaml
apiVersion: 1
providers:
  - name: "default"
    folder: ""
    type: file
    options:
      path: /var/lib/grafana/dashboards
```

## Core Concepts

### Data Sources

Plugins that connect to storage backends.

### Panels

Individual visualizations (Time Series, Gauge, Bar Chart).

### Variables

Dropdowns at the top of dashboards (e.g., Select `Cluster` or `Namespace`) to make dashboards dynamic.

## Best Practices (2025)

**Do**:

- **Provision as Code**: Store dashboards as JSON files in Git.
- **Use Explore metrics**: The new v11 UI for ad-hoc querying.
- **Standardize Labels**: Ensure "env" and "service" labels match across Metrics and Logs for seamless correlation links.

**Don't**:

- **Don't hardcode queries**: Use Variables so one dashboard serves all environments.

## References

- [Grafana Documentation](https://grafana.com/docs/)