Loading...
Loading...
Write raw ClickHouse SQL for a SigNoz dashboard panel — timeseries, value, or table widgets that the builder UI cannot express (custom joins, window functions, regex extraction over log bodies, aggregations beyond builder syntax). Trigger when the user explicitly asks for a "ClickHouse query", a "raw SQL panel", a "custom SQL widget", or describes a SigNoz dashboard panel whose query needs SQL the builder cannot produce. Anchored to dashboard-panel SQL specifically. For ad-hoc data exploration that does not need to land in a panel, use `signoz-generating-queries` instead.
npx skill4agent add signoz/agent-skills signoz-writing-clickhouse-queriesreferences/clickhouse-logs-reference.mdreferences/clickhouse-traces-reference.md(ts, value)valueUInt64$start_timestamp_nano$end_timestamp_nano$start_timestamp$end_timestampfromUnixTimestamp64Nano(timestamp)signoz_logs.distributed_logs_v2signoz_logs.distributed_logs_v2_resourceDateTime64(9)$start_datetime$end_datetime$start_timestamp$end_timestampsignoz_traces.distributed_signoz_index_v3signoz_traces.distributed_traces_v3_resourcets_bucket_start BETWEEN $start_timestamp - 1800 AND $end_timestampINGLOBAL IN$start_datetime$end_datetime$start_timestamp_nano$end_timestamp_nanoresources_string['service.name']resource_string_service$$nameSETTINGSSELECT ...
FROM ...
WHERE ...
SETTINGS log_comment = 'signoz-writing-clickhouse-queries skill | YYYY-MM-DD'YYYY-MM-DD2026-04-03SETTINGSlog_commentSETTINGS log_comment