Skip to content

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

ClickHouse 11 min read Opinion easyNovice

Breaking free from rising observability costs with open, cost-efficient architectures

Observability costs balloon at scale because of ingest- and per-host pricing (Splunk, Datadog), while cheaper pillar-specific stores like Prometheus, Loki and Tempo fragment data into silos that block high-cardinality, exploratory analysis. The proposed fix is to treat observability as an analytics problem: an OpenTelemetry-native but not OTel-exclusive pipeline feeding a columnar database, which brings compression, fast high-cardinality aggregations, object-storage retention, flexible JSON schemas and SQL. ClickHouse is argued to be the best fit because of sparse primary indices, skip indices, full-text search, parallel execution and separation of compute from storage. ClickStack is pitched as the open-source UI layer on top, so teams don't have to build a custom interface or write raw SQL in Grafana.

Related posts

  • The State of SQL-based Observability

    ClickHouse easyNovice

    Observability is increasingly treated as a SQL analytics problem, with OLAP column stores like ClickHouse replacing the NoSQL backends (Cassandra, Elasticsearch, Splunk) that dominated after Twitter's 2013 observability stack. OpenTelemetry standardizes collection, ClickHouse handles storage, and Grafana handles visualization and alerting. ClickHouse's case rests on columnar compression (around 14x on logs), S3-backed separation of storage and compute, materialized views for structuring logs at insert time, and approximate aggregate functions. One cited experiment handled 14TiB of logs for about $300 a month, with the tradeoff that object storage gives up some query speed for simpler operations.

  • So, is ClickHouse winning the observability wars?

    ClickHouse mediumAdept

    ClickHouse has become a common storage and query layer for observability, and the main reason is its columnar architecture. Data sorted by an ordering key compresses well (users report 10–50x), queries read only the columns they need, sparse primary and skip indexes prune granules, and execution is vectorized and SIMD-friendly and runs in parallel across shards. The newer inverted-index full-text search cut multi-term log searches in one customer report from 30–45s to about 400ms. High-cardinality fields cost little in a columnar store compared with Prometheus's per-series model, though grouping by millions of values still costs memory. The engine is only the foundation; collection, schema, correlation and workflows still have to be built, which is where ClickStack comes in.

  • How Uken Games reduces observability costs by 87% with ClickHouse

    ClickHouse mediumAdept

    Uken Games replaced Datadog with an open-source observability stack: OpenTelemetry collectors in an agent-plus-gateway layout, SigNoz on a single ClickHouse node for traces, AWS-managed Prometheus for metrics, CloudWatch for logs, and Grafana alerts defined as code via a custom CloudFormation resource. All traces fit in about 170 GB on one ClickHouse node, the migration had zero downtime, and annual cost fell about 87% to roughly $12,000. Key cost levers were dropping unused metrics and attributes, tail-style trace sampling that keeps errors and slow requests plus a 5–10% sample, alerting on unsampled aggregate metrics, and capping retention at two weeks.

  • How we used ClickHouse to store OpenTelemetry Traces and up our Observability Game

    ClickHouse mediumAdept

    Resmo stores over 300 million unsampled OpenTelemetry spans per day in a self-hosted ClickHouse node, after dropping S3/Parquet/Athena because of its 2-3 second query startup and delayed data. A single c7g.xlarge with 400 GB EBS holds more than 4 billion spans at about 92% compression (275 GiB vs 3.4 TiB). LowCardinality materialized columns for tenant and user IDs speed up common queries, and joins to Aurora Postgres add account names. The post shares SQL for latency percentiles, SpanAttributes key analysis, spans-per-trace histograms and exception-message search with hasToken.

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

The quest for software engineering knowledge.

Look:
Layout: