Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth provides HTTP authentication backends for cerberus.
|
Package auth provides HTTP authentication backends for cerberus. |
|
Package observability bundles cerberus's first-class self-observability stack: structured logs (`log/slog`), Prometheus metrics (`prometheus/client_golang`), and OpenTelemetry traces.
|
Package observability bundles cerberus's first-class self-observability stack: structured logs (`log/slog`), Prometheus metrics (`prometheus/client_golang`), and OpenTelemetry traces. |
|
Package schema captures the OpenTelemetry Collector ClickHouse exporter schema (table names, column names) and the helper for rendering attribute lookups under both the Map-based and JSON-typed layouts.
|
Package schema captures the OpenTelemetry Collector ClickHouse exporter schema (table names, column names) and the helper for rendering attribute lookups under both the Map-based and JSON-typed layouts. |
|
Package server is the HTTP layer with Prometheus / Loki / Tempo API compatibility.
|
Package server is the HTTP layer with Prometheus / Loki / Tempo API compatibility. |
|
middleware
Package middleware contains HTTP middleware used by the cerberus server: per-request structured logging, Prometheus metrics instrumentation, and OTel span correlation.
|
Package middleware contains HTTP middleware used by the cerberus server: per-request structured logging, Prometheus metrics instrumentation, and OTel span correlation. |
|
Package tenant provides multi-tenant context plumbing for cerberus.
|
Package tenant provides multi-tenant context plumbing for cerberus. |
|
Package translator defines the cross-language types that PromQL/LogQL/ TraceQL translators all produce and that the HTTP server consumes.
|
Package translator defines the cross-language types that PromQL/LogQL/ TraceQL translators all produce and that the HTTP server consumes. |
|
logql
Package logql translates LogQL expressions into ClickHouse SQL targeting the OTel exporter's otel_logs table.
|
Package logql translates LogQL expressions into ClickHouse SQL targeting the OTel exporter's otel_logs table. |
|
plan
Package plan defines the intermediate execution model that translators produce and the HTTP layer consumes.
|
Package plan defines the intermediate execution model that translators produce and the HTTP layer consumes. |
|
promql
Package promql translates PromQL expressions into ClickHouse SQL targeting the OTel exporter's otel_metrics_* tables.
|
Package promql translates PromQL expressions into ClickHouse SQL targeting the OTel exporter's otel_metrics_* tables. |
|
traceql
Package traceql — accessors.go bridges the upstream tempo AST to the concrete-typed shapes the translator works with.
|
Package traceql — accessors.go bridges the upstream tempo AST to the concrete-typed shapes the translator works with. |
Click to show internal directories.
Click to hide internal directories.