ClickHouse
Rocketgraph reads raw OpenTelemetry traces and logs straight from your ClickHouse tables.
Use this if your OpenTelemetry collector writes to ClickHouse with the ClickHouse exporter, with no vendor in front.
Connect
- Open Connect and click ClickHouse under Observability.
- Host: the HTTP interface, usually port 8123, or 8443 with TLS. For example
host:8123orhttps://host:8443. - User: a read-only user is enough.
- Password.
- Logs table (optional): leave blank if you use the OpenTelemetry exporter's defaults (
otel.otel_logs). - Traces table (optional): leave blank if you use the defaults (
otel.otel_traces). - Click Connect ClickHouse.
What Rocketgraph reads
Only SELECT queries over HTTP, each capped at 50 seconds (max_execution_time=50).
- Traces table:
ServiceName,Timestamp,StatusCode,Duration,SpanKind, for requests, errors and p95 per service. Only server and consumer spans count as requests. - Traces table:
TraceId,SpanId,ParentSpanId,SpanName, for the service map and the slowest traces in an alert window. - Logs table:
Body,SeverityText,ServiceName,Timestamp, for error and warning lines of a service that alerts. Lines are grouped into patterns in SQL.
Known limits
- Columns must match the OpenTelemetry ClickHouse exporter's schema.
- The host must be reachable from Rocketgraph over HTTP or HTTPS.
- The Add a slow-trace report option on Jira, Linear and Plane needs ClickHouse as your observability backend.
- Rocketgraph reads from one observability backend at a time. Connecting ClickHouse replaces the one you had.
Disconnect
There is no disconnect button for an observability backend. Connecting a different one replaces ClickHouse. To cut off access, drop the user or change its password in ClickHouse.