Local Observability Stack (VictoriaMetrics)

Minimal setup for experimenting with OTEL metrics & logs in Grafana.

Components

ServicePortPurpose
Grafana3000UI, anonymous admin enabled
OTEL Collector4317 (gRPC), 4318 (HTTP)Receives OTLP from your app
VictoriaMetrics8428Metrics TSDB (Prom remote_write in, MetricsQL out)
VictoriaLogs9428Logs DB (OTLP in, LogsQL out)

Run

# start the observability stack
ctf obs up -vm
# remove the stack with all the data (volumes)
ctf obs d -vm
# restart the stack removing all the data (volumes)
ctf obs r -vm

Developing

Change compose files under framework/cmd/observability and restart the stack (removing volumes too)

just reload-cli && ctf obs r

Local Dashboards (Docker)

You can create a dashboard using UI and put them under $pwd/dashboards folder then commit, they'll be loaded automatically on start and you can find them here under local directory.

$pwd is you current working directory from which you call ctf obs u