grafana
Skill15 starsChanged 42 days agoMITView on GitHub
Expert Grafana assistance covering dashboards, PromQL/LogQL panels, alerting rules, data sources, and Grafana Loki/Tempo. Use when visualizing system metrics, application logs, and building monitoring dashboards.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- chenwei791129/agent-skillstheir own version, first seen Oct 19, 2026
- NVIDIA/AI-Factory-Operations-Agenttheir own version, first seen Oct 13, 2026
- rkhozinov/claude-skillstheir own version, first seen Jul 29, 2026
- mattstruble/skillstheir own version, first seen Jul 22, 2026
- magnus919/agent-skillstheir own version, first seen Jul 21, 2026
- addxai/enterprise-harness-engineeringtheir own version, first seen Apr 17, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- magnus919/agent-skills★ 172same name
- addxai/enterprise-harness-engineering★ 44same name
- NVIDIA/AI-Factory-Operations-Agent★ 37same name
- koderover/devops-skills★ 7same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- mattstruble/skills★ 2same name
- chenwei791129/agent-skills★ 0same name
- rkhozinov/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository350 other files it gives its agents.
- airflowSkill
- catboostSkill
- claudeSkill
- comfyuiSkill
- cursor-aiSkill
- dalleSkill
- daskSkill
- dbtSkill
- deepseekSkill
- fastaiSkill
- geminiSkill
- github-copilotSkill
- huggingfaceSkill
- jaxSkill
- jupyterSkill
- kerasSkill
- langchainSkill
- lightgbmSkill
- llamaindexSkill
- llamaSkill
- matplotlibSkill
- midjourneySkill
- mistralSkill
- mlflowSkill
- nltkSkill
- numpySkill
- ollamaSkill
- openai-gptSkill
- opencvSkill
- pandasSkill
- perplexitySkill
- plotlySkill
- polarsSkill
- pytorchSkill
- raySkill
- scikit-learnSkill
- seabornSkill
- spacySkill
- sparkSkill
- stable-diffusionSkill
- tensorflowSkill
- vaexSkill
- weights-biasesSkill
- whisperSkill
- xgboostSkill
- api-gatewaySkill
- clean-architectureSkill
- cqrsSkill
- domain-driven-designSkill
- event-drivenSkill
- event-sourcingSkill
- graphqlSkill
- grpcSkill
- hexagonalSkill
- microservicesSkill
- modular-monolithSkill
- monolithSkill
- rest-apiSkill
- sagaSkill
- serverlessSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 117
Use Dashboard Template Variables ($service, $environment) to create dynamic, reusable panels.
- Distinctive: line 123
Write high-cardinality PromQL queries that query raw unaggregated metrics over long timeframes (e.g.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Grafana
Grafana is an open-source analytics and interactive visualization web application, providing flexible dashboarding, Scenes composability, and unified correlation across metrics, logs, and distributed traces.
When to Use
- Unified Observability Dashboards: Visualizing time-series metrics from Prometheus, Datadog, CloudWatch, and InfluxDB.
- Log Exploration with Grafana Loki: Querying streaming logs using LogQL with zero-indexing overhead.
- Distributed Trace Visualization with Grafana Tempo: Inspecting traces, span latencies, and service dependency graphs.
- Alerting & Incident Management: Routing alerts via Grafana Alerting to PagerDuty, Slack, OpsGenie, and Webhooks.
Quick Start
Run via Docker:
docker run -d -p 3000:3000 grafana/grafana
Or Provision as Code (YAML):
apiVersion: 1
providers:
- name: "default"
folder: ""
type: file
options:
path: /var/lib/grafana/dashboardsCore Concepts
Prometheus Metrics Visualization with PromQL
Configuring time-series queries for dashboard panels:
# Rate of HTTP 5xx errors per second across microservices
sum(rate(http_requests_total{status=~"5.."}[5m])) by (service)
# 99th percentile request latency in seconds
histogram_quantile(0.99, sum(rate(http_request_duration_seconds_bucket[5m])) by (le, service))
# CPU Utilization percentage per container
sum(rate(container_cpu_usage_seconds_total{container!=""}[5m])) by (pod) * 100Log Exploration with LogQL (Grafana Loki)
Filtering and parsing streaming application logs:
# Filter production API logs for errors and extract JSON fields
{env="production", service="billing"}
|= "error"
| json
| latency_ms > 500
| line_format "[{{.status}}] {{.error_message}} ({{.latency_ms}}ms)"Declarative Dashboard as Code (JSON Model)
Managing dashboard definitions in Git for automated provisioning:
{
"title": "Platform Health KPI",
"panels": [
{
"id": 1,
"title": "API Request Rate (req/s)",
"type": "timeseries",
"datasource": { "type": "prometheus", "uid": "prom-primary" },
"targets": [
{
"expr": "sum(rate(http_requests_total[2m]))",
"legendFormat": "Total Requests"
}
],
"fieldConfig": {
"defaults": {
"unit": "reqps",
"color": { "mode": "palette-classic" }
}
}
}
]
}Common Patterns
Dynamic Dashboard Variables with PromQL Label Values
Problem: Creating separate dashboard panels for every server instance or Kubernetes pod.
Solution: Define template variables with dynamic queries:
# Dashboard Variable: $instance
Query: label_values(node_cpu_seconds_total, instance)
# PromQL panel query utilizing variable:
sum(rate(node_cpu_seconds_total{mode!="idle", instance=~"$instance"}[5m]))
by (instance) * 100Best Practices
Do:
- Provision dashboards and datasources declaratively using Grafana Provisioning (
/etc/grafana/provisioning). - Use Dashboard Template Variables (
$service,$environment) to create dynamic, reusable panels. - Set standard units (
reqps,bytes,seconds,percent) on panel field configs for human-readable axes. - Correlate metrics, logs, and traces using Grafana Explore cross-linking (Data Links).
Don't:
- Write high-cardinality PromQL queries that query raw unaggregated metrics over long timeframes (e.g. 30 days).
- Edit production dashboards directly in the UI without exporting and committing the JSON model to Git.
- Configure un-muted alerts that spam communication channels; group alerts by symptom and severity.
Troubleshooting
| Error | Cause | Solution |
Data source connection failed: Bad Gateway (502) | Grafana cannot reach Prometheus or database endpoint URL. | Verify internal network URL (e.g. http://prometheus:9090). |
Panel showing 'No Data' | Query filter labels do not match incoming metrics, or time range is empty. | Expand time range to "Last 24 hours" and test query in Explore view. |
Alerting rule constantly flapping | Alert threshold evaluated without duration window. | Set evaluation interval: for: 5m before triggering alert notification. |
References
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

