Skip to content

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

ClickHouse 8 min read How-to mediumAdept

Faster OpenTelemetry migrations to ClickStack with Bindplane

Bindplane lets teams migrate OpenTelemetry pipelines to ClickStack incrementally instead of doing a rip-and-replace. The first step adds ClickStack as a second destination for dual-write evaluation, rolled out progressively across the collector fleet. Workloads then move service by service by adding Filter by Condition exclusions on the legacy destination. A routing connector can cut parallel-run costs by sending WARN and above (severity_number >= 13) to the legacy backend and everything else to ClickStack. Blueprints that structure and enrich logs before ingest improve ClickHouse compression, which is claimed to reach up to 170x.

Related posts

  • How we made ClickStack 5x faster for ClickHouse observability

    ClickHouse hardMaster

    ClickStack's OpenTelemetry logs schema, inherited from the ClickHouse exporter for the OTel Collector, was reworked through a benchmark-driven process. The changes combined time-bucketed primary key redesign, text indexes, query rewrites, materialized views and newer ClickHouse features, cutting representative observability query latency by more than 5×. Every schema iteration was validated with the ClickCannon tool and ephemeral ClickHouse Cloud instances at 640 MiB/s ingest on three 24-core replicas. Each change was judged against ingestion throughput, CPU, memory, part counts and the full query workload, so a gain on one query pattern could not hide regressions elsewhere.

  • Whats new in ClickStack - June + July

    ClickHouse mediumAdept

    ClickStack's June–July update centers on traces: per-service colors in the waterfall, fixed-pixel minimum span widths, a minimap for navigating long traces, and display of OpenTelemetry span links. Metrics gain an experimental proxy to external Prometheus-compatible endpoints for hybrid migration to the ClickHouse TimeSeries Engine, plus quantile support for exponential histograms via scale normalization, offset alignment and log-linear interpolation matching Prometheus. Filter values and autocomplete now try ClickHouse text indexes via mergeTreeTextIndex() (26.3+) before metadata rollups and table scans. Other additions include cascading dashboard filters, consecutive-window alerts with a PENDING state, categorical bar charts, event-pattern tiles, kiosk mode, and expanded External API v2 CRUD.

  • What's new in ClickStack. September '25.

    ClickHouse mediumAdept

    ClickStack's September 2025 release adds JSON dashboard import/export in HyperDX, custom aggregations through any ClickHouse aggregate function (e.g. stddevPop), and user-supplied OTel Collector YAML. That YAML is merged with the OpAMP-managed base config by mounting it at /etc/otelcol-contrib/custom.config.yaml, for example to add hostmetrics and filelog receivers. Search queries are now split into time-window chunks executed newest-first, with remaining chunks canceled once enough results are found. A Prometheus-style delta() for gauge metrics extrapolates each window's first-to-last difference to the full bucket duration before aggregating across series.

  • Ensuring reliable OpenTelemetry ingestion at scale

    ClickHouse mediumAdept

    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.

  • Migrate Datadog telemetry with the OpenTelemetry Collector

    ClickHouse mediumAdept

    The OpenTelemetry Collector's Datadog receiver lets existing Datadog agents and SDKs send logs, traces and metrics to a Collector. The Collector translates them into the OpenTelemetry data model, and they can then be exported to any backend or dual-written alongside Datadog for side-by-side evaluation. ClickHouse contributed fixes upstream: proper log timestamps and severity mapping, promotion of resource attributes, reconstruction of 128-bit trace IDs for log-trace correlation, in-Collector JSON log decoding, and Zstandard support for Datadog Agent 7.59+. A worked example points a Datadog agent's datadog.yaml at ClickStack's Collector on port 8126. The receiver is still alpha: it is recommended for evaluating logs and traces, while metrics support covers only the v1/v2 intake endpoints and needs more testing.

The quest for software engineering knowledge.

Look:
Layout: