All checks were successful
CI / Test backend (pull_request) Successful in 34s
CI / Check ui (pull_request) Successful in 33s
CI / Docker / backend (pull_request) Successful in 1m26s
CI / Docker / runner (pull_request) Successful in 1m50s
CI / Docker / ui (pull_request) Successful in 1m3s
CI / Docker / caddy (pull_request) Successful in 5m53s
- Remove GlitchTip, Umami, Fider, Gotify, Uptime Kuma, Dozzle, Watchtower from prod docker-compose (now run on homelab) - Add dozzle-agent on prod (127.0.0.1:7007) for homelab Dozzle to connect to - Remove corresponding subdomain blocks from Caddyfile (now routed via Cloudflare Tunnel from homelab) - Add homelab/docker-compose.yml: unified homelab stack with all migrated tooling services plus full OTel stack (Tempo 2.6.1, Loki, Prometheus, OTel Collector, Grafana) - Add homelab/otel/: Tempo, Loki, Prometheus, OTel Collector configs + Grafana provisioning (datasources + dashboards) - Add homelab/dozzle/users.yml for Dozzle auth
69 lines
1.5 KiB
YAML
69 lines
1.5 KiB
YAML
# OTel Collector config
|
|
#
|
|
# Receivers: OTLP (gRPC + HTTP) from backend, ui, runner
|
|
# Processors: batch for efficiency, resource detection for host metadata
|
|
# Exporters: Tempo (traces), Prometheus (metrics), Loki (logs)
|
|
|
|
receivers:
|
|
otlp:
|
|
protocols:
|
|
grpc:
|
|
endpoint: 0.0.0.0:4317
|
|
http:
|
|
endpoint: 0.0.0.0:4318
|
|
|
|
processors:
|
|
batch:
|
|
timeout: 5s
|
|
send_batch_size: 512
|
|
|
|
# Attach host metadata to all telemetry
|
|
resourcedetection:
|
|
detectors: [env, system]
|
|
timeout: 5s
|
|
|
|
exporters:
|
|
# Traces → Tempo
|
|
otlp/tempo:
|
|
endpoint: tempo:4317
|
|
tls:
|
|
insecure: true
|
|
|
|
# Metrics → Prometheus (remote write)
|
|
prometheusremotewrite:
|
|
endpoint: "http://prometheus:9090/api/v1/write"
|
|
tls:
|
|
insecure_skip_verify: true
|
|
|
|
# Logs → Loki (via OTLP HTTP endpoint)
|
|
otlphttp/loki:
|
|
endpoint: "http://loki:3100/otlp"
|
|
tls:
|
|
insecure: true
|
|
|
|
# Collector self-observability (optional debug)
|
|
debug:
|
|
verbosity: basic
|
|
|
|
extensions:
|
|
health_check:
|
|
endpoint: 0.0.0.0:13133
|
|
pprof:
|
|
endpoint: 0.0.0.0:1777
|
|
|
|
service:
|
|
extensions: [health_check, pprof]
|
|
pipelines:
|
|
traces:
|
|
receivers: [otlp]
|
|
processors: [resourcedetection, batch]
|
|
exporters: [otlp/tempo]
|
|
metrics:
|
|
receivers: [otlp]
|
|
processors: [resourcedetection, batch]
|
|
exporters: [prometheusremotewrite]
|
|
logs:
|
|
receivers: [otlp]
|
|
processors: [resourcedetection, batch]
|
|
exporters: [otlphttp/loki]
|