This article is available in French.
1. Concevoir #
Une question par dashboard.
Structure #
| Widget | Pour |
|---|---|
| Timeseries | Évolution d'une métrique dans le temps |
| Query value | Un chiffre actuel avec seuils de couleur |
| Top list | Classement (services les plus lents, hôtes les plus chargés) |
| Heatmap, distribution | Répartition des latences, au-delà de la moyenne |
| SLO, Monitor summary | Engagements et alertes en cours |
| Log stream, Trace list | Les événements derrière une courbe |
Bonne Pratique : Organisez par signaux dorés (latence, trafic, erreurs, saturation) en haut, détails techniques en dessous, et des template variables$envet$servicepour qu'un seul dashboard serve à tous les services.
2. Formules et fonctions #
Calculer dans le widget.
Exemples #
# Taux d'erreur en %
(sum:trace.http.request.errors{$env,$service}.as_count() / sum:trace.http.request.hits{$env,$service}.as_count()) * 100
# Comparaison avec la semaine précédente
week_before(avg:system.load.1{$env})
# Prévision et anomalies
forecast(avg:system.disk.in_use{$env} by {host}, 'linear', 1)
anomalies(sum:orders.created{$env}.as_count(), 'agile', 2)3. Notebooks et partage #
Investiguer, documenter.
Usages #
- Notebooks : graphiques, requêtes de logs et texte mêlés, pour un post-mortem ou une investigation reproductible.
- Powerpacks : groupes de widgets réutilisables entre dashboards (par exemple le bloc « golden signals » standard de l'entreprise).
- Partage par lien public ou intégration dans un écran de NOC, avec des template variables fixées.
- Dashboards en Terraform (
datadog_dashboard_json) ou exportés en JSON et versionnés.
My progress
Sign in to track your progress and take notes. Sign in
Recommended Articles
Understanding the concept of score
The concept of score allows Elasticsearch to rank your documents by relevance during a search.
Understanding the Elastic Common Schema (ECS)
As always in our consulting engagements, we recommend that companies harmonise and standardise: k...
License consumption types
Understand the evolution of billing in Dynatrace: the difference between the old licensing model ...
Grafana Alloy: The importance of Self-Monitoring
Discover why and how to configure Grafana Alloy so that it monitors itself, collecting its own lo...
Grafana Alloy: Understanding and exploiting the User Interface (UI)
Discover how to enable, secure, and use Grafana Alloy's built-in web interface to visualize your ...
Grafana Alloy: Introduction and Architecture
Discover the fundamental concepts of Grafana Alloy, the transition from the static Agent to Alloy...
Grafana Alloy: Syntax and Configuration (Alloy Language: River)
As part of a Grafana training or observability training, master the declarative syntax of Grafana...
Grafana Alloy: Metrics Collection (Prometheus & Ecosystem)
Learn how to configure Grafana Alloy to collect, transform, and forward metrics using the Prometh...
Grafana Alloy: Log Management with Loki
Discover how to configure Grafana Alloy to read log files, journald, or network streams, process ...