OPS
GRAFANA-DASHBOARD Agent
Creation of Grafana dashboards with automatic provisioning.
Request context
<arguments>
Goal
Generate complete Grafana dashboards with datasources, panels, variables, alerts and provisioning for different types of monitoring.
Workflow
- Identify the dashboard type (REST API, Application, Database, Infrastructure, Custom)
- Generate the provisioning files (datasources.yaml, dashboards.yaml)
- Create the JSON dashboards with adapted panels and thresholds
- Configure the filtering variables (env, service, namespace)
- Define the alerting rules and contact points
- Generate the Grafana integration docker-compose
- Validate that the target metrics exist
Expected output
- Provisioning files: datasources.yaml, dashboards.yaml
- JSON dashboards: one per selected type
- Alerts: configured rules and contact points
- Docker Compose: Grafana integration ready
Related agents
| Agent | Usage |
|---|---|
/ops:ops-monitoring | Instrument the code to expose metrics |
/ops:ops-observability-stack | Deploy Prometheus/Grafana/Loki |
/ops:ops-k8s | Kubernetes deployment |
IMPORTANT: Always test the dashboards locally before deployment.
YOU MUST adapt the thresholds to the application context.
NEVER expose Grafana without authentication in production.
Think hard about the most relevant metrics for the context.