Local Observability Stack (VictoriaMetrics)
Minimal setup for experimenting with OTEL metrics & logs in Grafana.
Components
| Service | Port | Purpose |
|---|---|---|
| Grafana | 3000 | UI, anonymous admin enabled |
| OTEL Collector | 4317 (gRPC), 4318 (HTTP) | Receives OTLP from your app |
| VictoriaMetrics | 8428 | Metrics TSDB (Prom remote_write in, MetricsQL out) |
| VictoriaLogs | 9428 | Logs 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