This article is available in French.
1. La vue APM #
Les services en un coup d'œil.
Services #
La page Services liste chaque service avec ses métriques RED (débit, taux d'erreur, latence p50/p95/p99) calculées à partir des spans. La page d'un service détaille ses opérations clés, ses appels de base de données et externes, et donne accès aux traces correspondantes.
| Vue | Usage |
|---|---|
| Services | Santé de chaque service |
| Service map | Dépendances entre services |
| Traces explorer | Recherche et analyse de traces, chronologie |
| Logs explorer | Recherche de logs, lien vers la trace associée |
| Exceptions | Erreurs regroupées par type, avec pile d'appels |
| Dashboards | Tableaux de bord personnalisés |
2. Interroger #
Trois façons.
Query builder, ClickHouse, PromQL #
Le query builder construit des requêtes par filtres et agrégations, sans connaître le schéma. Pour aller plus loin, on écrit directement du SQL ClickHouse ou du PromQL sur les métriques.
-- Exemple de requête ClickHouse dans un panneau SigNoz (le schéma exact dépend de la version)
SELECT serviceName AS service, count() AS erreurs
FROM signoz_traces.distributed_signoz_index_v3
WHERE timestamp > now() - INTERVAL 1 HOUR AND hasError = true
GROUP BY service
ORDER BY erreurs DESCÀ savoir : Consultez le schéma des tables (SHOW TABLES FROM signoz_traces) avant d'écrire des requêtes SQL : les noms et colonnes évoluent entre versions de SigNoz.3. Alertes et dashboards #
Surveiller.
Alertes #
| Type d'alerte | Exemple |
|---|---|
| Métriques | Latence p95 de checkout > 500 ms pendant 5 min |
| Logs | Plus de 100 logs level=error en 5 min pour un service |
| Traces | Plus de 2 % de spans en erreur sur une opération |
| Exceptions | Nouvelle exception apparue |
Les canaux de notification (Slack, e-mail, webhook, PagerDuty, Opsgenie, Teams) se configurent dans les paramètres. Des dashboards prêts à l'emploi existent pour l'hôte, Kubernetes, les bases de données et les runtimes (JVM, Go).
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 ...