Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 5 min read Case study easyNovice

Inside Laravel Nightwatch’s Observability Pipeline: Real-Time Event Processing with Amazon MSK and ClickHouse Cloud

Laravel Nightwatch, Laravel's first-party observability platform, ingests telemetry through API Gateway and Lambda into Amazon MSK Express brokers, then streams it into ClickHouse Cloud via ClickPipes, with materialized views pre-aggregating raw JSON. Transactional data such as accounts and billing stays in RDS PostgreSQL, keeping it separate from analytical workloads. MSK sustained over 1 million events per second in load testing, and the launch handled 500 million events on day one with 97 ms average dashboard latency. Sub-second queries at billions of rows rely on time-series partitioning, ClickHouse codecs and compute separation, though the write-up stays high-level and reads partly as vendor marketing.

Related posts

  • How ClickHouse Cloud enabled LaunchDarkly to build and ship features faster

    ClickHouse mediumAdept

    LaunchDarkly replaced Kinesis/Flink/Lambda streaming pipelines and an S3/Parquet/Athena batch warehouse with ClickHouse Cloud. Raw events are now queried directly, and materialized views are added only where needed. The system ingests about 6 PB/month of uncompressed JSON through an HTTP API, S3 protobuf batches, Lambda-converted Parquet and INSERT INTO SELECT. Data is fresh in about 30 seconds with roughly 100 days of retention, high-cardinality per-user analytics became practical, and seven product features now run on it. Lessons learned: don't coarsen ORDER BY keys, drop OLTP habits (for example, use two-stage queries for latest-N), and plan for workload isolation as adoption outpaces the platform team. Next steps are ingest-time joins for Release Guardian regression detection and migrating Elasticsearch workloads.

  • Why Astronomer chose ClickHouse to power its new data observability platform, Astro Observe

    ClickHouse easyNovice

    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.

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

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

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

The quest for software engineering knowledge.

Look:
Layout: