---
title: "Scaling observability at Character.AI: thousands of GPUs, 10x logs, and 50% lower cost with ClickStack"
description: "Character.AI consolidated fragmented logging across multi-cloud Kubernetes GPU clusters onto ClickStack (HyperDX UI) backed by ClickHouse Cloud."
url: "https://swe.quest/articles/scaling-observability-at-character-ai-thousands-of-gpus-10x-logs-and-50-lower-a0ff79c12547eafa"
canonical: "https://clickhouse.com/blog/scaling-observabilty-for-thousands-of-gpus-at-character-ai"
source: "ClickHouse"
published: "2025-08-27"
difficulty: "medium"
kind: "Case study"
reading_minutes: 10
tags: ["observability","analytics","cost-optimization","kubernetes","scalability"]
---

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

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2025-08-27, 10 min read, Case study. Original: [https://clickhouse.com/blog/scaling-observabilty-for-thousands-of-gpus-at-character-ai](https://clickhouse.com/blog/scaling-observabilty-for-thousands-of-gpus-at-character-ai)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Scaling](https://swe.quest/tags/scalability.md) (Distributed systems)

## Prerequisites

- OpenTelemetry Collector ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))
- ClickHouse basics ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- Kubernetes DaemonSets ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))

## Keywords

ClickHouse, ClickStack, HyperDX, OpenTelemetry, ClickHouse Cloud, Character.AI

## Related posts

- [How Canva achieved 10x faster search and 70% lower costs with ClickHouse](https://swe.quest/articles/how-canva-achieved-10x-faster-search-and-70-lower-costs-with-clickhouse-40e415ef239059a0.md): ClickHouse · 2025-12-01 · Medium · 7 min read · Observability, Analytics & OLAP, Cost optimization, Performance engineering, Databases
  Canva moved tracing and logging (about 3 million spans and 3 million logs per second) onto a self-managed ClickHouse cluster of 5 shards × 3 replicas on Kubernetes.
- [Clever ingests 200x more logs at the same cost with ClickHouse Cloud](https://swe.quest/articles/clever-ingests-200x-more-logs-at-the-same-cost-with-clickhouse-cloud-cafdd48afca59e57.md): ClickHouse · 2026-06-30 · Medium · 8 min read · Observability, Analytics & OLAP, Cost optimization, System design
  Clever replaced a split Datadog/Athena logging setup with ClickHouse Cloud.
- [How Uken Games reduces observability costs by 87% with ClickHouse](https://swe.quest/articles/how-uken-games-reduces-observability-costs-by-87-with-clickhouse-b3d46180eaebbbed.md): ClickHouse · 2026-09-01 · Medium · 7 min read · Observability, Cost optimization, Analytics & OLAP, Games
  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.
- [Why OpenAI chose ClickHouse for petabyte-scale observability](https://swe.quest/articles/why-openai-chose-clickhouse-for-petabyte-scale-observability-dd57167d0fc8c4cb.md): ClickHouse · 2025-06-30 · Medium · 6 min read · Observability, Performance engineering, Analytics & OLAP, Scaling, Data structures
  OpenAI ingests petabytes of logs daily, growing over 20% monthly, into a ClickHouse cluster of 90 shards with two replicas each, fed by Fluent Bit agents.
- [The State of SQL-based Observability](https://swe.quest/articles/the-state-of-sql-based-observability-672099654427a9bd.md): ClickHouse · 2023-12-06 · Easy · 16 min read · Observability, Analytics & OLAP, Databases, Cost optimization
  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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
