
ClickStack
Self-hosted observability stack on ClickHouse with session replay
Replaces Datadog, Dynatrace, New Relic

Who it's for
Teams spending more on Datadog or New Relic than their actual infrastructure find that ClickStack lets them collect full-fidelity telemetry, without sampling, at the cost of running ClickHouse themselves. The OpenTelemetry-native ingestion means minimal re-instrumentation.
If your team has no one comfortable running and maintaining ClickHouse in production, the operational overhead may offset the billing savings. Managed SaaS tools may be simpler until your team grows that capability.
Teams whose production incidents require correlating what a user did in the browser with what happened on the backend find ClickStack's session-replay-to-trace correlation directly useful. One interface covers the full path from browser event to database query.
If your team only needs server-side log search and has no use for browser session replay or APM, lighter tools cover the core need at lower infrastructure cost.
If your stack already emits OTel signals, connecting to ClickStack requires pointing your existing collector at the new endpoint. No new agent, no SDK change. The Docker image bundles the collector, so the entire setup can be a single compose file update.
If you are not yet running OpenTelemetry and your team is small, the instrumentation investment may not be worth it for the observability you need. Simpler log-forwarding setups are easier to start with.
The problem
Production observability with commercial tools follows a predictable cost trajectory: more infrastructure means more hosts, more hosts means higher per-host billing, and teams that want to debug effectively end up collecting less data to keep bills manageable. Datadog, Dynatrace, and New Relic all charge in ways that penalize volume, so engineering teams routinely sample aggressively or drop entire signal types to stay within budget. The second pain is fragmentation. Logs live in one tool, session replays in another, APM traces in a third. When a production issue lands, the debug path requires hopping between surfaces and manually correlating timestamps, user IDs, and trace IDs. This kind of investigation taxes the person doing it and slows resolution. Teams that cannot afford a dedicated SRE to manage the observability stack often reach a point where the tool is consuming more time than the production incidents it is meant to surface.
How it works
Correlates logs, traces, metrics, session replays, and errors in a single query interface. You can start from a user session in the browser, jump to the backend span that handled the request, and filter to the log lines it generated, without switching tools or manually matching timestamps.
Searches run directly on ClickHouse, which handles terabytes of event data with sub-second latency. Full-text search, property filters (such as level:err), and native JSON querying work without a separate indexing pipeline or complex query syntax.
Records browser sessions and links them automatically to the backend logs and traces generated during that session. Jumping from a user complaint to the exact server-side trace requires one click rather than a manual log search.
Accepts data from any OpenTelemetry SDK, covering JavaScript, Python, Java, Go, Ruby, PHP, .NET, Elixir, and Rust. Instrument once and point your existing OTel collector at ClickStack without modifying your application code for a new vendor format.
Groups log lines into distinctive clusters by pattern, condensing billions of events into a manageable summary of what is happening. Useful for surfacing recurring error classes without scanning raw output line by line.
The hdx CLI and interactive TUI let engineers search logs, live-tail events, and view trace waterfalls without leaving the terminal. Includes raw SQL queries, NDJSON output, and log pattern mining for scripting and AI agents.
Features
- Full-stack signal correlation
- ClickHouse-backed search
- Correlated session replay
- OpenTelemetry-native instrumentation
- Event pattern clustering
- Terminal CLI and TUI
How to install
Self-hosting uses Docker with the all-in-one image that bundles ClickHouse, the UI, an OpenTelemetry Collector, and MongoDB.
docker run -p 8080:8080 -p 4317:4317 -p 4318:4318 docker.clickhouse.com/clickhouse/clickstack-all-in-oneRecommended for this setup
Strengths
- MIT license with no per-host or per-seat fees: The entire codebase is MIT licensed. Self-hosting on your own infrastructure means your observability cost scales with your servers, not with the number of hosts, users, or GB ingested. Unlike Datadog or New Relic, there is no bill for collecting more data.
- ClickHouse performance at scale: ClickHouse is built for OLAP workloads on large datasets. ClickStack runs queries over terabytes of logs and traces in seconds rather than minutes, without requiring pre-aggregation or index warm-up. The architecture is a direct response to paid tools whose query latency degrades at high volume.
- OpenTelemetry-native, no vendor lock-in: Instrumentation uses standard OpenTelemetry SDKs. If you outgrow ClickStack or want to send data to a different backend, your instrumentation code stays unchanged. This is different from commercial tools that require proprietary agents or vendor-specific SDKs.
- Maintained by ClickHouse, with 10,000+ GitHub stars: Originally built as HyperDX (Y Combinator-backed), ClickStack was acquired by ClickHouse, Inc. The project has 10,031 stars on GitHub and receives active development. The acquisition means the upstream ClickHouse team is invested in keeping the integration current.
Trade-offs
- Requires at least 4GB RAM and 2 CPU cores: The README specifies at least 4GB of RAM and 2 CPU cores for testing deployments. The all-in-one Docker image bundles ClickHouse, MongoDB, and an OTel collector, so low-resource environments will not have enough headroom. Production deployments require more.
- 157 open issues at time of indexing: The repository carried 157 open issues when this was written. For a tool that recently changed ownership and was rebranded from HyperDX to ClickStack, some roughness is expected. Active development continues, but teams running this in production should monitor the issue tracker.
- Anonymized usage telemetry is on by default: ClickStack collects anonymized usage data from open source deployments. The README documents the opt-out: set the USAGE_STATS_ENABLED environment variable to false. Teams with strict data policies should disable it at deploy time.
Tech stack
FAQ
No. The all-in-one Docker image bundles ClickHouse alongside the ClickStack UI, an OpenTelemetry Collector, and MongoDB. You can run everything with one docker run command and visit localhost:8080. For production, the docs cover options for deploying against an existing ClickHouse cluster or using ClickHouse Cloud.
ClickStack accepts any OpenTelemetry-compatible signal. Directly supported SDKs cover Node.js, Python, Java, Go, Elixir, React Native, and browsers. Any language with an OTel SDK works via the collector. Kubernetes, AWS EC2, Vercel, Fly.io, Heroku, and Cloudflare are listed as supported platforms on the website.
Yes. HyperDX was the original name when the project launched. ClickHouse acquired HyperDX and renamed the project ClickStack. The website still runs at hyperdx.io, and the codebase and community Discord carry forward from the HyperDX era. The GitHub repository is at ClickHouse/ClickStack.
Yes. ClickStack collects anonymized usage data for open source deployments by default. To opt out, set the USAGE_STATS_ENABLED environment variable to false before starting the container.
None is needed to get started. The all-in-one Docker image configures ClickHouse internally. The README also notes that ClickStack is schema agnostic and can run on an existing ClickHouse cluster with your own schema. For production deployments at scale, the docs cover options including ClickHouse Cloud.