RousselTMLEARNING

Article · SigNoz and ClickStack: observability on ClickHouse

Using SigNoz

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.

VueUsage
ServicesSanté de chaque service
Service mapDépendances entre services
Traces explorerRecherche et analyse de traces, chronologie
Logs explorerRecherche de logs, lien vers la trace associée
ExceptionsErreurs regroupées par type, avec pile d'appels
DashboardsTableaux 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'alerteExemple
MétriquesLatence p95 de checkout > 500 ms pendant 5 min
LogsPlus de 100 logs level=error en 5 min pour un service
TracesPlus de 2 % de spans en erreur sur une opération
ExceptionsNouvelle 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).

📄 Utiliser SigNoz : APM, traces, logs, dashboards et alertes →

My progress

  • ⏱ Estimated time : ≈ 4 min

Sign in to track your progress and take notes. Sign in

✉️ Ask a question

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 ...