ClickHouse Queries for Dashboards and Alerts

SigNoz Cloud - This page applies to SigNoz Cloud editions.
Self-Host - This page applies to self-hosted SigNoz editions.

SigNoz stores all observability data in ClickHouse. You can write ClickHouse SQL queries directly to build custom dashboard panels and alerts when the visual Query Builder does not cover your use case.

ClickHouse queries are only supported in Dashboards. To write a ClickHouse query, go to Dashboards, create a new dashboard or open an existing one, add a new panel, and select the ClickHouse Query tab.

Signal-Specific Query Guides

Each signal type has its own schema and query patterns. Refer to the guide for the signal you want to query:

Metrics

Query metrics data stored in ClickHouse, including schema reference and examples for timeseries, value, and table panels.

Logs

Query logs data stored in ClickHouse, including the logs schema and examples for filtering, aggregating, and visualizing log data.

Traces

Query traces data stored in ClickHouse, including the spans schema and examples for latency analysis, error tracking, and service dependency queries.

Last updated: May 13, 2026

Edit on GitHub

Was this page helpful?

Your response helps us improve this page.

On this page

Is this page helpful?

Your response helps us improve this page.