Why Astronomer chose ClickHouse to power its new data observability platform, Astro Observe
Astronomer built Astro Observe, an observability platform for Apache Airflow, on ClickHouse Cloud after a per-customer Amazon RDS Postgres setup degraded on large time-range aggregations and forced limits on retained data. Airflow DAG and task events flow through an ingestion API and Go enrichment services into Kafka for buffering and replay, then into ClickHouse, while low-volume deployment and GitHub change events are written directly. Tables share common keys such as org_id, run_id and asset_id; per-table TTLs handle retention, MergeTree engines deduplicate, and materialized views precompute aggregations at insert time. The motivating numbers: 100 million tasks a month with a 1.5% failure rate, each failure taking about 1.24 hours to resolve.
Related posts
- Shopify powers observability for global-scale commerce with ClickHouse
ClickHouse mediumAdept
Shopify consolidated metrics, logs, traces, exceptions and profiles from multiple vendors onto Observe, an internal observability platform built on self-hosted ClickHouse, and saw a 16x query improvement out of the box (over 30x at peak) along with predictable costs. The platform ingests about 100M events/s (~110 GB/s) at BFCM peak and keeps data queryable within a minute. Key techniques: Kafka buffering with large synchronous acknowledged inserts for durability, materialized views for field metadata (50-100 ms autocomplete) and request-ID correlation (10x faster lookups), promoting hot Map keys to typed columns (~30% faster), sorting map keys at write time (20-40% disk savings), and a custom Kubernetes operator for declarative schema migrations across ~20 tenants. Next steps include tiered NVMe/SSD/object storage, native JSON types and a Rust ingestion rewrite, and the team says it would likely choose ClickHouse Cloud if starting today.
- How the D. E. Shaw group powers high-cardinality observability at scale with ClickHouse
ClickHouse mediumAdept
The D. E. Shaw group moved per-task resource metrics from its HPC grid, millions of high-cardinality time series keyed by unique task IDs, from an InfluxDB-protocol time-series platform to ClickHouse. In same-hardware benchmarks, a single ClickHouse node ingested about 3.5M samples/s against roughly 480k for a competitor, and queries that timed out elsewhere finished in seconds. Production keeps the InfluxDB line-protocol ingestion path through a custom batching service, backfills history by reading the old platform's files directly from disk, and stores 68 TB compressed on four replicated NVMe servers at about 530k inserts/s, with materialized views for capacity-planning dashboards. Tradeoffs included rewriting Prometheus-style queries in SQL and limited compression on unique-ID fields (up to 5x), while OpenTelemetry traces reach about 12.5x compression.
- Building an Observability Solution with ClickHouse at Dash0
ClickHouse hardMaster
Dash0 stores all OpenTelemetry metrics, logs and spans in ClickHouse, using PostgreSQL only for customer settings, so signals can be joined and correlated in one system. The setup tiers storage with 1-2 days on local disk, then AWS S3 plus a local cache, driven by TTL moves, and keeps metrics for 13 months. Tables are ordered by a ResourceHash before Timestamp for better filtering and compression, with daily partitions bounding time ranges, and the cluster runs as a single shard with multiple replicas. Metric metadata is deduplicated into an AggregatingMergeTree table keyed by MetricHash with FirstSeen/LastSeen tracking, and queries against it must use GROUP BY or FINAL because merges are not guaranteed to have happened.
- Goodbye limitations, hello data: How Qonto is rethinking observability with ClickHouse Cloud
ClickHouse easyNovice
Qonto, a European digital bank, moved trace storage from Grafana Tempo to ClickHouse Cloud, extending query windows from 2-3 hours to two weeks without sampling and adopting a wide-events model instead of the logs/metrics/traces pillars. High-cardinality span and resource attributes compress from 231 TB to 376 GB, saving an estimated $70K a year in S3 costs, so engineers are now encouraged to add attributes freely. Telemetry flows through OpenTelemetry collectors over AWS PrivateLink into ClickHouse, with Grafana for dashboards. An AI incident companion built on the ClickHouse MCP server, behind a roughly 30-line read-only Python layer, lets non-experts investigate incidents and scope affected customers in plain English.
- Building Chronicle: How Temporal supercharged their observability with ClickHouse
ClickHouse easyNovice
Temporal built Chronicle, an observability system on ClickHouse, to handle high-cardinality, per-tenant telemetry for its multi-tenant Temporal Cloud without runaway costs. Data from 14 regions is consolidated into five hubs with distributed tables and AWS PrivateLink, so queries run where the data lives and egress charges stay low. Logs are sorted by cluster, namespace and timestamp for investigative queries, and materialized views pre-aggregate at write time for fast dashboards. Async inserts with a five-second wait push ingestion to 150K rows/s, write-aggregated queries return in under 200 ms, and the largest table compresses 36.59x.