---
title: "ClickHouse Plugin for Grafana - 2.0 Release"
description: "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."
url: "https://swe.quest/articles/clickhouse-plugin-for-grafana-2-0-release-6cc77a953b0e269e"
canonical: "https://clickhouse.com/blog/clickhouse-grafana-plugin-2.0"
source: "ClickHouse"
published: "2022-09-02"
difficulty: "medium"
kind: "Release"
reading_minutes: 9
tags: ["analytics","observability","sql"]
---

# ClickHouse Plugin for Grafana - 2.0 Release

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2022-09-02, 9 min read, Release. Original: [https://clickhouse.com/blog/clickhouse-grafana-plugin-2.0](https://clickhouse.com/blog/clickhouse-grafana-plugin-2.0)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [SQL](https://swe.quest/tags/sql.md) (Languages)

## Prerequisites

- Grafana dashboards and variables
- ClickHouse SQL basics ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))

## Keywords

ClickHouse, Grafana, clickhouse-go, additional\_table\_filters, ch-proxy

## Related posts

- [Visualizing Data with ClickHouse - Part 1 - Grafana](https://swe.quest/articles/visualizing-data-with-clickhouse-part-1-grafana-6207d162d247fcd5.md): ClickHouse · 2022-10-07 · Medium · 5 min read · Observability, Analytics & OLAP, SQL
  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.
- [What's new in ClickStack - September and October '26](https://swe.quest/articles/what-s-new-in-clickstack-september-and-october-26-a21e3a80f34a3dc9.md): ClickHouse · 2026-11-03 · Medium · 18 min read · Observability, Analytics & OLAP
  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.
- [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.
- [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.
- [Announcing the new ClickHouse SQL Playground](https://swe.quest/articles/announcing-the-new-clickhouse-sql-playground-3d79733825c39f99.md): ClickHouse · 2024-10-31 · Medium · 7 min read · Analytics & OLAP, Frontend, API design
  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.

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)
