Skip to content

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

Wise Engineering 14 min read Case study mediumAdept

Observability At Scale — Every Byte Counts

Five observability changes at Wise cut monthly spend by 40%. Switching Loki chunk compression from Snappy to lz4 cut S3 storage and cross-AZ traffic by roughly 50% with negligible CPU impact. Moving the OpenTelemetry Collector to Tempo path from gzip to zstd reduced Tempo ingest by about 40%, and upgrading Prometheus to Remote Write v2 dropped daily traffic to Mimir from ~16TB to ~5.5TB. Aligning Loki's split_queries_by_interval with the ~1-hour p90 chunk span eliminated redundant chunk reads, and an AI-assisted investigation tracked down a Fluent Bit connection limit, with the overall lesson being to challenge defaults on high-volume data paths and validate against measured cost.

Related posts

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

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

    ClickHouse easyNovice

    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.

  • How Much Should I Be Spending On Observability?

    Honeycomb easyNovice

    Observability costs are driven by different technical factors depending on the storage model. Under the multiple-pillars model, cost scales with the number of tools (a 10-20x multiplier for typical enterprises), cardinality and dimensionality, so cutting costs means discarding the context that makes observability useful. Under a unified columnar storage model, cost scales with traffic volume and instrumentation density and is controlled through tail-based sampling and instrumenting with intent. Model-agnostic levers include vendor consolidation, telemetry pipelines for routing, sampling and tiering, OpenTelemetry for vendor optionality, and tiered instrumentation aligned with business value.

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

  • Scaling observability at Character.AI: thousands of GPUs, 10x logs, and 50% lower cost with ClickStack

    ClickHouse mediumAdept

    Character.AI consolidated fragmented logging across multi-cloud Kubernetes GPU clusters onto ClickStack (HyperDX UI) backed by ClickHouse Cloud. It ingests 10x more log data at 50% lower cost, and log searches that took minutes now return in seconds. Raw output of about 450 PB/month is tamed with aggressive sampling: errors and warnings are kept in full, while info logs are sampled at 1 in 10,000 for the backbone service and 1% elsewhere. OpenTelemetry Collector DaemonSets insert directly with async inserts and batching. Schema tuning included primary keys aligned to time and service queries, materialized columns extracted from JSON, pruned skip indexes and per-column compression, yielding roughly 15–20x compression. Collector misconfiguration, such as missing batching or unsampled ingestion, caused outages, and a gateway layer plus native JSON and PromQL support are planned next.

The quest for software engineering knowledge.

Look:
Layout: