DiagramPreview
AI betaAI generatedPreviewDownload

Grafana Dashboard Generator

Generate Grafana dashboard JSON for Prometheus, Loki, Node Exporter, API, and Kubernetes monitoring.

Exemples
Preview
The preview will appear here.

Continue with a related tool

Move this output into a nearby workflow for preview, conversion, or debugging.

Comment utiliser

  1. 1Describe the service, datasource style, and metrics you want to monitor.
  2. 2Generate the dashboard JSON and inspect panel titles, queries, units, and time ranges.
  3. 3Copy or download the JSON, then import it into a Grafana test folder before using it in production.
  4. 4Adjust datasource UIDs and PromQL labels to match your real environment.

Cas d’usage

Grafana dashboard bootstrapPrometheus panel designKubernetes monitoringAPI latency dashboardsObservability documentation

FAQ

Can I import the generated JSON directly into Grafana?

Use it as a draft. Import into a test folder first, then adjust datasource UIDs, PromQL labels, units, thresholds, and folder permissions.

Which metrics should an API dashboard include?

A useful first dashboard usually includes request rate, error rate, latency percentiles, saturation, dependency failures, and recent log or trace links.

Why generate a dashboard instead of building one manually?

Generation gives you a quick baseline for repeatable service dashboards. Human review is still needed to make the panels match real SLOs and labels.

Grafana Dashboard Generator creates editable dashboard JSON for common Prometheus, Loki, Node Exporter, API service, Kubernetes, and database monitoring scenarios.

The generated dashboard should be treated as a starting point: review panel titles, PromQL expressions, thresholds, units, and datasource names before importing it into Grafana.

It pairs well with Prometheus alert rules because the same service signals should appear both as visual panels and actionable alerts.

Demo: baseline API service dashboard panels

For a service dashboard, start with the signals that answer whether the service is receiving traffic, failing, slowing down, or running out of capacity.

  • Traffic: rate(http_requests_total[5m]) grouped by route or status.
  • Errors: 5xx rate and error ratio, not only raw error count.
  • Latency: p50, p95, and p99 from histogram buckets when available.
  • Saturation: CPU, memory, queue depth, or connection pool usage.
histogram_quantile(0.95, sum by (le, route) (rate(http_request_duration_seconds_bucket[5m])))
sum(rate(http_requests_total{status=~"5.."}[5m])) / sum(rate(http_requests_total[5m]))

These expressions are examples; label names need to match your instrumentation.

Dashboard review: avoid panels that look useful but do not answer an incident question

A good generated dashboard should map to real operational questions: is the service alive, is traffic normal, are users seeing errors, and where is the bottleneck. Pretty panels are not enough if they do not guide response.

  • Pair request rate with error rate so traffic drops are not mistaken for success.
  • Use latency percentiles instead of averages for user-facing APIs.
  • Add variables only when they reduce duplication, not when they hide the primary service view.
histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{job="$service"}[5m])) by (le))

Checklist de revue pour Grafana Dashboard Generator

Utilisez Grafana Dashboard Generator pour inspecter visuellement une source avant documentation, note de PR, post-mortem ou transfert. Generate Grafana dashboard JSON for Prometheus, Loki, Node Exporter, API, and Kubernetes monitoring.

Avant export, vérifiez la lisibilité, les relations, les données sensibles et la cohérence après modification.

Limites et dépannage

Si l'aperçu échoue, réduisez l'entrée au plus petit exemple complet, validez la syntaxe puis réajoutez les sections.

Considérez l'aperçu comme une surface de revue, pas comme une source de vérité. Les résultats critiques doivent être validés.

Exemples à tester

  • API service: Generate a Grafana dashboard JSON for an API service with request rate, error rate, latency p95, saturation, and instance health panels.
  • Node Exporter: Generate a Grafana dashboard JSON for Node Exporter CPU, memory, disk, network, and filesystem saturation.
  • Loki logs: Generate a Grafana dashboard JSON for Loki logs with error logs, warning logs, top services, and log volume panels.

Maturité de l'outil

AI beta

Beta assistée par AI

Cet outil génère une source modifiable avec AI. Relisez, prévisualisez localement et ajustez avant publication.

Le libellé indique si l'outil convient surtout à l'export stable, au débogage, à l'analyse rapide ou à la génération AI.