Skip to content

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

ClickHouse 9 min read Release mediumAdept

ClickHouse Plugin for Grafana - 2.0 Release

Version 2.0 of the ClickHouse Grafana plugin drops its client-side SQL AST parser and implements ad-hoc filters with ClickHouse's new `additional_table_filters` setting (22.7+), so the server injects each filter into the correct clauses, including subqueries. The release also adds HTTP transport via clickhouse-go's native-format-over-HTTP support, which lets traffic go through load balancers and proxies such as ch-proxy, and splits the connection and query timeouts. It adds JSON Object type support, with leaf nodes usable as columns and logs shown in the Explore view and Logs Panel. Breaking changes: the old automatic 'All' variable optimization is replaced by a manual `$__conditionalAll` macro, ad-hoc filters require ClickHouse 22.7+, and read-only users need readonly=2.

Assumes: Grafana dashboards and variablesClickHouse SQL basics

Related posts

  • Visualizing Data with ClickHouse - Part 1 - Grafana

    ClickHouse mediumAdept

    Grafana connects to ClickHouse through the official ClickHouse plugin (version 2.x adds JSON and HTTP support) by creating a datasource and building dashboard panels with a query builder or raw SQL. Worked examples against the play.clickhouse.com datasets cover a monthly bar chart of Hacker News mentions, multi-series forex lines using the $__timeFilter macro and argMax, and candlesticks built with argMin/argMax/min/max. They also include a geohash-bucketed temperature heatmap on GeoMap and a log explorer view whose severity level is derived from HTTP status codes. Multi-line charts need a string series column, and SETTINGS max_result_rows lifts the playground's result limits.

  • What's new in ClickStack - September and October '26

    ClickHouse mediumAdept

    ClickStack v2.39 through v2.42 add ad hoc dashboard filters with click-to-filter from tiles, single-select and required filters, saved relative time ranges, and dashboard variables in markdown tiles. PromQL now works across every chart type, including multi-expression time series, number tiles, tables and heatmaps, and supports Grafana-compatible macros and the external dashboards API. Every query now carries a JSON log_comment and an hdx- prefixed query_id, so read load in system.query_log can be traced back to a specific dashboard, tile, alert or MCP tool. Other changes include a Trace logs tab, exception panels driven by OpenTelemetry attributes, search histogram group-by, and row export. Ad hoc filters and PromQL remain experimental and are enabled with environment flags.

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

    ClickHouse mediumAdept

    ClickStack's October 2025 release brings alerting to ClickHouse Cloud, with Slack, PagerDuty and webhook integrations and both search-based and chart-based alerts. It also adds one-click dashboard filters, configurable Event Deltas that can plot any field such as database response time, sampled filter percentages, multiline SQL search, and configurable Kubernetes dashboard sources. On performance, chunked progressive chart loading with cached query chunks cut time-to-first-data by up to 95% and memory per query by 18-80%. Timestamp filtering now also filters on toStartOfDay(Timestamp) so the primary index is fully used, reducing latency by about 25%.

  • What's new in ClickStack. February '26.

    ClickHouse mediumAdept

    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. It also adds a metric attribute explorer and pie charts. ClickStack now applies newer ClickHouse settings automatically, including use_skip_indexes_for_top_k for 2-3x faster Top-N log searches; dynamic Top-K filtering stays off globally because it conflicts with rand()-based Event Patterns.

  • Announcing the new ClickHouse SQL Playground

    ClickHouse mediumAdept

    sql.clickhouse.com is a new public SQL playground offering over 35 datasets (60 TB) and 220 example queries, with syntax highlighting, autocomplete, query parameters, basic charting via Apache ECharts and shareable links. It is a NextJS/React single-page app talking directly to ClickHouse's HTTP interface. Read-only credentials are exposed safely by combining RBAC, query complexity limits (10 billion rows read, 1000 rows returned) and per-IP quotas of 60 queries per hour. The service runs on a fixed 3-node, 30-vCPU ClickHouse Cloud cluster backed by object storage. Live query progress polls system.processes every 100ms by query ID under a separate monitor user, avoiding HTTP progress headers that the browser fetch API can't read.

The quest for software engineering knowledge.

Look:
Layout: