---
title: "Introducing ClickStack embedded in ClickHouse"
description: "Starting with ClickHouse 26.2, the ClickStack (HyperDX) observability UI ships inside the ClickHouse binary at /clickstack, adding about 4 MB, for local exploration of logs, traces, metrics and ClickHouse's own system tables."
url: "https://swe.quest/articles/introducing-clickstack-embedded-in-clickhouse-5655542c4f7400aa"
canonical: "https://clickhouse.com/blog/clickstack-embedded-clickhouse"
source: "ClickHouse"
published: "2026-03-05"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 8
tags: ["observability","build-systems","c-cpp","analytics"]
---

# Introducing ClickStack embedded in ClickHouse

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-03-05, 8 min read, Announcement. Original: [https://clickhouse.com/blog/clickstack-embedded-clickhouse](https://clickhouse.com/blog/clickstack-embedded-clickhouse)

## Summary

Starting with ClickHouse 26.2, the ClickStack (HyperDX) observability UI ships inside the ClickHouse binary at /clickstack, adding about 4 MB, for local exploration of logs, traces, metrics and ClickHouse's own system tables. It is not meant for production: there is no persistent state, so alerting, saved dashboards and saved queries are unavailable, and Event Patterns is removed because the Pyodide WASM runtime is too large. The Next.js app is exported as static files and pulled in through a git submodule, so the ClickHouse build never needs Node.js. A CMake step gzips the files and generates a sorted C++ array that an HTTP handler binary-searches. A walkthrough shows how to enable system.query\_log and point a log source at it.

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)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)
- [C & C++](https://swe.quest/tags/c-cpp.md) (Languages)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)

## Prerequisites

- ClickHouse basics ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- Next.js static export ([easy posts on React](https://swe.quest/tags/react.md?difficulty=easy))

## Keywords

ClickHouse, ClickStack, HyperDX, Next.js, CMake, Pyodide, OpenTelemetry

## Related posts

- [What's new in ClickStack. February '26.](https://swe.quest/articles/what-s-new-in-clickstack-february-26-b8dbb2dbfeb0032c.md): ClickHouse · 2026-03-12 · Medium · 13 min read · Observability, Analytics & OLAP, SQL, Performance engineering
  ClickStack's February 2026 update adds ClickStack resources (dashboards, alerts, sources, webhooks) to the ClickHouse Cloud OpenAPI for configuration-as-code, embeds the ClickStack UI in the ClickHouse 26.2 binary at /clickstack for about 4.1 MB, and introduces a raw SQL mode for table visualizations with injected time-range parameters, enabling joins across logs and traces.
- [ClickStack: A (half) year in review](https://swe.quest/articles/clickstack-a-half-year-in-review-cf0d67e92c68a1b1.md): ClickHouse · 2026-01-06 · Easy · 12 min read · Observability, Analytics & OLAP, Performance engineering
  ClickStack, the ClickHouse-based observability stack built on HyperDX and OpenTelemetry, shipped a run of features between its May launch and December.
- [Instrumenting your NextJS application with OpenTelemetry and ClickStack](https://swe.quest/articles/instrumenting-your-nextjs-application-with-opentelemetry-and-clickstack-d85c0f4f10071552.md): ClickHouse · 2025-09-04 · Medium · 17 min read · Observability, JavaScript, React, Analytics & OLAP
  ClickPy, a Next.js app over ClickHouse serving 1.8 trillion rows of PyPI download data, is instrumented with OpenTelemetry via ClickStack (ClickHouse, HyperDX and an OTel collector) to capture browser sessions and distributed traces.
- [Whats new in ClickStack - June + July](https://swe.quest/articles/whats-new-in-clickstack-june-july-1186a53145598aa7.md): ClickHouse · 2026-08-10 · Medium · 16 min read · Observability, Analytics & OLAP
  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.
- [What's new in ClickStack. October '25.](https://swe.quest/articles/what-s-new-in-clickstack-october-25-4616c6cec69bb526.md): ClickHouse · 2025-11-06 · Medium · 7 min read · Observability, Analytics & OLAP, Performance engineering
  ClickStack's October 2025 release brings alerting to ClickHouse Cloud, with Slack, PagerDuty and webhook integrations and both search-based and chart-based alerts.

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)
