---
title: "Ensuring reliable OpenTelemetry ingestion at scale"
description: "ClickHouse's LogHouse OpenTelemetry pipeline, ingesting 50 million events per second, absorbs database backpressure by failing over to S3 rather than buffering in memory, local WALs or Kafka."
url: "https://swe.quest/articles/ensuring-reliable-opentelemetry-ingestion-at-scale-ef5f46f7e6587da0"
canonical: "https://clickhouse.com/blog/reliable-opentelemetry-ingestion-at-scale"
source: "ClickHouse"
published: "2026-08-24"
difficulty: "medium"
kind: "Case study"
reading_minutes: 12
tags: ["observability","resilience","data-pipelines","cloud","kubernetes"]
---

# Ensuring reliable OpenTelemetry ingestion at scale

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-08-24, 12 min read, Case study. Original: [https://clickhouse.com/blog/reliable-opentelemetry-ingestion-at-scale](https://clickhouse.com/blog/reliable-opentelemetry-ingestion-at-scale)

## Summary

ClickHouse's LogHouse OpenTelemetry pipeline, ingesting 50 million events per second, absorbs database backpressure by failing over to S3 rather than buffering in memory, local WALs or Kafka. Collector file\_storage WALs forced StatefulSets, drained slowly (about 4 hours per TiB) and queued fresh data behind backlog in FIFO order. The final design uses the OTel failoverconnector to route to ClickHouse first and spill to S3 only under backpressure, which limits PUT costs to outage windows. A separate scale-to-zero collector replays spilled blobs via SQS event notifications. Key details include disabling the ClickHouse exporter's sending queue so errors reach the connector, keeping inline retries, enabling the queue on the S3 exporter, and spreading keys across a wide keyspace to avoid prefix throttling.

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)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)

## Prerequisites

- OpenTelemetry Collector pipelines ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))
- Kubernetes deployments ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- S3 and SQS basics ([easy posts on Storage systems](https://swe.quest/tags/storage-systems.md?difficulty=easy))

## Keywords

OpenTelemetry, ClickHouse, LogHouse, failoverconnector, Amazon S3, SQS, Kafka

## Related posts

- [Scaling our Observability platform beyond 100 Petabytes by embracing wide events and replacing OTel](https://swe.quest/articles/scaling-our-observability-platform-beyond-100-petabytes-by-embracing-wide-c75d29b3bcaf1192.md): ClickHouse · 2025-06-19 · Medium · 26 min read · Observability, Scaling, Cost optimization, Analytics & OLAP, Go
  ClickHouse's internal LogHouse platform grew from 19 PiB to over 100 PB of uncompressed logs (about 500 trillion rows), mostly by replacing the OpenTelemetry pipeline for ClickHouse server telemetry with SysEx.
- [A Quadrillion Rows across three Clouds: scaling LogHouse](https://swe.quest/articles/a-quadrillion-rows-across-three-clouds-scaling-loghouse-ac5a7813ca827fb9.md): ClickHouse · 2026-06-30 · Medium · 20 min read · Observability, Analytics & OLAP, Scaling, Distributed databases, Storage engines
  LogHouse, ClickHouse Cloud's internal logging platform, has grown to 431 PiB uncompressed (27 PiB on disk) and 1.59 quadrillion rows across 36 cells in 33 geoshards on three clouds, ingesting up to 80 GiB/s and 190M rows/s.
- [How we used ClickHouse to store OpenTelemetry Traces and up our Observability Game](https://swe.quest/articles/how-we-used-clickhouse-to-store-opentelemetry-traces-and-up-our-observability-b78dc8bc485a8f13.md): ClickHouse · 2023-04-14 · Medium · 13 min read · Observability, Analytics & OLAP, SQL, Cost optimization
  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.
- [Our New Observability Platform for 100B Logs](https://swe.quest/articles/our-new-observability-platform-for-100b-logs-ffdc8340b285c59b.md): Railway · 2023-09-29 · Medium · 7 min read · Observability, Analytics & OLAP, Replication, Scaling
  Railway rebuilt its logging backend on ClickHouse to power Log Explorer, handling about 1 billion new logs per day, 100 billion stored logs and 60 queries/sec at roughly 50ms average latency on a 2-shard/2-replica cluster.
- [ClickHouse and OpenTelemetry](https://swe.quest/articles/clickhouse-and-opentelemetry-84cdeb7807e844a6.md): ClickHouse · 2024-11-07 · Medium · 10 min read · Observability, Analytics & OLAP, Databases, Open source
  ClickHouse now officially supports the OpenTelemetry Collector exporter for ClickHouse, which has reached beta for logs and traces.

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)
