Aller au contenu principal
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

  1. Provisioning files: datasources.yaml, dashboards.yaml
  2. JSON dashboards: one per selected type
  3. Alerts: configured rules and contact points
  4. Docker Compose: Grafana integration ready
AgentUsage
/ops:ops-monitoringInstrument the code to expose metrics
/ops:ops-observability-stackDeploy Prometheus/Grafana/Loki
/ops:ops-k8sKubernetes 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.


See also