ClickStack SQL Charting and Alerting
ClickStack now supports charts and alerts defined by arbitrary ClickHouse SQL, going beyond what predefined query builders can express. Query parameters such as {startDateMilliseconds:Int64} and macros such as $__filters and $__sourceTable keep SQL charts responsive to dashboard time ranges and filters, and they mirror the ClickHouse Grafana plugin so existing queries port with little change. Worked examples use window functions to compute rolling p95 latency baselines with 3-sigma bounds, and an alert query that returns 1 when error counts exceed a 30-interval rolling mean by two standard deviations. Result columns map to timestamp, series and grouping roles by type, and alerts evaluate the final numeric column per bucket and group.
Related posts
- 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.
- 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 - 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 - May 2026
ClickHouse easyNovice
ClickStack's May 2026 update focuses on making dashboards useful during investigations. It adds configurable table row actions that link to templated searches or other dashboards, scoped multi-source filters, threshold-colored number tiles, and a service map with p50/p95/p99 latency, throughput, Lucene/SQL filtering and a focus mode. Other additions include experimental PromQL support built on the ClickHouse TimeSeries Engine, a Browser RUM dashboard template, a split-pane trace view, configurable event-pattern columns, and new MCP tools for agents. The direct-read attribute search optimization, measured at 1.4x–10x faster, is now on by default because it works with ALIAS columns and no longer needs extra storage.
- What's new in ClickStack - April 2026
ClickHouse mediumAdept
ClickStack's April 2026 release adds alerts driven by arbitrary ClickHouse SQL, so rolling baselines and standard-deviation anomaly checks can be written with window functions and fire when the query returns 1. The default otel_logs schema was redesigned around ClickHouse full-text indexes on attribute map keys/values and lower(Body), with a five-minute bucketed ordering key, improving sample query performance by over 70% at comparable insert cost; versions before 26.2 fall back to bloom_filter indexes. An opt-in companion column flattens attribute maps into key=value arrays so map lookups are rewritten to indexed has() predicates, running 1.4–10x faster. Autocomplete now reads from 15-minute materialized-view rollups instead of scanning live tables, and heatmaps become a general chart type.