cerberus

Prometheus, Loki and Tempo HTTP gateway for ClickHouse

Image 1 of 2: cerberus site with the headline Keep Grafana, swap the backend

Lets Grafana query telemetry in ClickHouse with PromQL, LogQL and TraceQL, as if Prometheus, Loki and Tempo were still there. Each query becomes ClickHouse SQL and returns in the upstream wire format, so dashboards and alerts stay unchanged.

  • 57.4 msPromQL instant, 500k
  • 51.6 msLogQL range, 500k
  • 17.1 msTraceQL search, 500k

Trade-offs

  • A read-only gateway that never ingests. The OpenTelemetry Collector keeps writing to ClickHouse, and the only writes here are opt-in provisioning and backfills.
  • Clean-room Apache reimplementations of the LogQL and TraceQL grammars, checked against the Grafana parsers in testing, so no AGPL code is linked into the binary.
  • Exact rate-over-range by default. A native ClickHouse path trades a last-bit rounding difference for flat memory on million-row queries.

Q&A4

Each head has a differential harness that answers one corpus with both engines and diffs the responses, with no allow-lists. PromQL uses a third-party suite, and TraceQL a project-written corpus, the lightest leg.

Reviews

Loading reviews

    More in Observability

    See all 33 →
    • rocketplaneIOSelf-hosted Kubernetes observability with transaction-gated agent actions
    • agent-traceSession recorder and replay tool for coding agents
    • QueueScopeNative macOS dashboard for BullMQ queues on Redis
    • NerdlogMulti-host TUI log viewer with a timeline histogram and no central server
    • duckdb-otlpOpenTelemetry ingest and SQL queries in DuckDB
    • ProcInShWeb-based Linux process inspector with a 3D process space

    More in ClickHouse

    See all 6 →
    • HelioSelf-hosted marketing automation with no per-contact pricing
    • BifractSelf-hosted SIEM on ClickHouse with process provenance graphs
    • GotchaSelf-hosted observability in one Go binary, Sentry SDKs included
    • ClickLensWeb console for ClickHouse with permissions from native grants
    • ClickAdvisorRule-based ClickHouse query advisor, usable from the CLI or MCP

    More in OpenTelemetry

    See all 8 →
    • go-ledgerMulti-tenant double-entry payment ledger API in Go, built in public
    • OteliteSingle-binary OpenTelemetry receiver and dashboard for local LLM work
    • tailscale2otelTailscale fleet, flows and audit logs as OpenTelemetry
    • FlareOpenTelemetry traces, metrics and logs for Apache Spark
    • otelopLocal OpenTelemetry viewer in one binary