Guided Tour
TraceHouse is under active development. Feature behavior and interfaces may change between releases.
Monitoring and Investigation
TraceHouse queries ClickHouse system.* tables for query logs, merge activity, resource usage, and part metadata. Its views connect cluster-level metrics to individual query resource usage and table storage layouts to recorded merge history.
Investigation Workflows
- Understanding workload in real time: see which queries, merges, and background tasks are consuming CPU, memory, and I/O right now
- Investigating specific queries or merges: trace a slow query's resource footprint, or follow a merge from start to finish
- Exploring table structure and storage: inspect parts, columns, compression ratios, and how data is physically organized
- Historical analysis: look at past query patterns, merge throughput, and resource trends over time
Scope and Limitations
TraceHouse focuses on ClickHouse monitoring and investigation:
- Alerting: configure notifications separately in Grafana or another alerting system.
- Cluster management: server configuration, user administration, and schema management remain outside its scope.
- Dashboard data: the built-in views focus on ClickHouse system tables and operational metrics.
Features
Time Travel
Inspect recorded CPU, memory, merge, and query activity over time. Historical coverage depends on the available log tables, sampling sources, and retention settings.
Query Monitor
A live and historical view of every query running on your cluster. Filter by user, query kind, status, or resource usage. Click into any query to see its full resource profile, execution timeline, and the SQL it ran.
Merge Tracker
Watch merges as they happen and review past merge activity. See which tables are merging, how long merges take, how much I/O they produce, and whether the merge pipeline is keeping up with inserts.
Analytics
Aggregate query and merge data over time to compare query latency, per-table merge activity, and resource trends.