This article is available in French.
1. Pourquoi ClickHouse ? #
Un moteur analytique pour la télémétrie.
Les atouts d'une base colonne #
| Atout | Effet pour l'observabilité |
|---|---|
| Stockage colonne et compression | Des logs et traces très répétitifs compressés 10 à 20 fois |
| Requêtes analytiques rapides | Agrégations sur des milliards de lignes en quelques secondes |
| Haute cardinalité | Pas de pénalité à filtrer par user_id ou trace_id, contrairement à un index de labels |
| SQL | Un langage connu, des jointures entre logs, traces et métriques |
| TTL et stockage par niveaux | Rétention et déplacement vers un stockage objet automatiques |
À savoir : ClickHouse est une base open source (Apache 2.0) créée chez Yandex, développée aujourd'hui par ClickHouse Inc.
2. Le panorama #
Plusieurs produits sur la même base.
Les outils #
| Outil | Type | Points forts |
|---|---|---|
| SigNoz | Plateforme complète (APM, logs, métriques, alertes) | Expérience proche d'un APM commercial, OpenTelemetry natif |
| ClickStack | Pile officielle de ClickHouse : ClickHouse + HyperDX + Collector | Recherche rapide, corrélation, sessions navigateur |
| Uptrace | APM sur ClickHouse | Traces et métriques, simple à déployer |
| Grafana + plugin ClickHouse | Visualisation | S'intègre à une stack Grafana existante |
Bonne Pratique : Tous ces outils reçoivent l'OTLP : en instrumentant avec OpenTelemetry, on peut changer d'interface sans toucher aux applications.
3. Comparer aux autres approches #
Index, labels ou colonnes.
Trois familles #
| Approche | Exemples | Force | Faiblesse |
|---|---|---|---|
| Index inversé | Elasticsearch, OpenSearch | Recherche plein texte | Coût du stockage et de l'indexation |
| Labels + stockage objet | Loki, Tempo, Mimir | Coût très bas | Haute cardinalité limitée dans les labels |
| Base colonne | ClickHouse (SigNoz, ClickStack) | Analytique et haute cardinalité | Une base à exploiter (réplication, fusions, disques) |
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 ...