Add Pyroscope server (StatefulSet on ringtail k3s) and Alloy profiling DaemonSet with pyroscope.ebpf collection. Grafana datasource with traces-to-profiles cross-linking. Docs updated across observability reference card, Alloy, Grafana, apps registry, and README. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2.6 KiB
2.6 KiB
| title | modified | tags | ||
|---|---|---|---|---|
| Alloy | 2026-03-26 |
|
Grafana Alloy
Unified observability collector for metrics, logs, traces, and profiles with five deployments:
- Indri (host) - System metrics and service logs from macOS host
- Kubernetes (DaemonSet) - Automatic pod log collection and service health probes
- Fly.io proxy (embedded) - nginx access log metrics and log forwarding from flyio-proxy
- Ringtail tracing (DaemonSet) - Beyla eBPF auto-instrumentation for HTTP traces
- Ringtail profiling (DaemonSet) -
pyroscope.ebpfcontinuous CPU profiling
Quick Reference
| Property | Value |
|---|---|
| Indri Binary | ~/.local/bin/alloy |
| Indri Config | ~/.config/grafana-alloy/config.alloy |
| K8s Namespace | alloy |
| K8s Image | grafana/alloy:v1.14.0 |
| ArgoCD App | alloy-k8s |
| Fly.io Config | fly/alloy.river |
| Fly.io Image | grafana/alloy:v1.5.1 (binary copied into nginx container) |
Metrics Collected
From Indri
- System metrics via
prometheus.exporter.unix - Textfile collector:
minikube.prom,borgmatic.prom,zot.prom,jellyfin.prom - Zot registry metrics from
http://localhost:5050/metrics - Pushed to prometheus via remote_write
From Kubernetes
- All pod logs via
loki.source.kubernetes - Service health probes: miniflux, kiwix, transmission, devpi, argocd
From Fly.io Proxy
flyio_nginx_http_requests_total— request rate by status/method/hostflyio_nginx_http_request_duration_seconds— latency histogramflyio_nginx_http_response_bytes_total— response bandwidthflyio_nginx_cache_requests_total— cache HIT/MISS/EXPIRED counts- Pushed to prometheus via remote_write through caddy
Logs Collected
Brew services: forgejo, tailscale
mcquack LaunchAgents: alloy, borgmatic, zot, jellyfin
Logs pushed to loki at https://loki.tail8d86e.ts.net/loki/api/v1/push.
Fly.io proxy: nginx JSON access logs pushed to loki at https://loki.ops.eblu.me/loki/api/v1/push (via caddy).
Why Built from Source
The Homebrew bottle uses CGO_ENABLED=0, which breaks Tailscale MagicDNS. Building with CGO_ENABLED=1 uses the macOS native resolver.
Note: This may no longer be needed now that services use *.ops.eblu.me URLs (routed via Caddy) instead of *.tail8d86e.ts.net. Should be tested in the future.
Related
- prometheus - Metrics storage
- loki - Log storage
- tempo - Trace storage
- pyroscope - Profile storage
- grafana - Visualization
- observability - Full stack overview