Skip to content

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

ClickHouse 9 min read Announcement mediumAdept

Announcing support for ClickStack in the ClickHouse Terraform provider

The ClickHouse/clickhouse Terraform provider now manages ClickStack dashboards, alerts, sources, saved searches, connections and webhooks for both self-hosted and Managed ClickStack, in beta from v3.25. The support was added as a separate service module inside the existing provider rather than as a new provider, so Cloud deployments reuse the same API credentials and self-hosted ones use an endpoint plus a personal API key. Supporting it meant tightening the ClickStack OpenAPI contract with named types, consistent integer fields and structured validation errors. Dashboard JSON is also validated against the ClickStack API during terraform plan, falling back to a warning on older versions. A walkthrough covers creating a dashboard with jsonencode, importing existing resources including generated import blocks and bulk export, and a caveat that UI edits are not detected as drift and can be overwritten.

Related posts

  • Using ClickHouse Cloud and Terraform for CI/CD

    ClickHouse mediumAdept

    ClickHouse's new Terraform provider, built on the ClickHouse Cloud API, can provision ephemeral ClickHouse Cloud services for CI. The ClickHouse Go client's GitHub Actions tests were moved off a shared, always-on production service, which had been a single point of failure, caused table explosion and concurrent-DDL ZooKeeper load, and made logs hard to debug. Each test run now creates its own development-tier service with Terraform, runs the suite and destroys the service, usually in under 10 minutes. The walkthrough covers API token setup, provider configuration with secret tfvars, the HCL service resource with host and service-id outputs, and the changes to the workflow.

  • Terraform & OpenAPI for ClickPipes is now Generally Available

    ClickHouse mediumAdept

    ClickPipes, ClickHouse Cloud's managed ingestion service, is now generally available in the ClickHouse Terraform provider (v3.14.0+) and via stable OpenAPI endpoints. Coverage now includes CDC pipes for Postgres, MySQL and MongoDB, BigQuery and Azure Blob connectors, S3/GCS unordered mode and reverse private endpoints, with SSH tunneling still missing. A walkthrough shows how to configure a Postgres CDC pipe in HCL and import existing pipes using import blocks and -generate-config-out. A known limitation is that importing Postgres CDC pipes requires applying with stopped = true first so credentials are written to state.

  • 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.

  • Introducing ClickStack embedded in ClickHouse

    ClickHouse mediumAdept

    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.

  • What's new in ClickStack - Aug ’26

    ClickHouse mediumAdept

    ClickStack v2.34–v2.38 centers on dashboards: dashboard variables are now GA, letting a filter's selection be substituted into raw SQL, builder fields, Lucene and PromQL, with macros like $__filter and $__conditionalAll to handle empty selections and chained dropdowns. PromQL querying over ClickHouse's new TimeSeries engine (private preview, Prometheus remote write) lets Prometheus metrics sit alongside logs and traces. Charts gain arithmetic formulas over series, a metrics explorer, and release markers derived from service.version. Also new are a beta LLM observability dashboard built on OpenTelemetry GenAI conventions, plus alerting upgrades: up to ten targets, names and tags, evaluation history via API, and richer webhook payloads with stable alert IDs.

The quest for software engineering knowledge.

Look:
Layout: