chore: replace Promtail with Grafana Alloy for log collection (refs #97)
Promtail 2.9.0 embeds Docker client API v1.42 which is incompatible with Docker Engine v29 (minimum API v1.44). Grafana Alloy v1.12.2 resolves this by using a compatible Docker client. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -102,14 +102,14 @@ This creates `.env.logging` which is sourced by docker-compose.
|
||||
+-----------------------------------------------------------------------+
|
||||
|
|
||||
v
|
||||
Promtail --> Loki (30-day retention) --> Grafana
|
||||
Alloy --> Loki (30-day retention) --> Grafana
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Logs not appearing in Grafana
|
||||
|
||||
1. Check Promtail is running: `docker logs mvp-promtail`
|
||||
1. Check Alloy is running: `docker logs mvp-alloy`
|
||||
2. Check Loki is healthy: `curl http://localhost:3100/ready`
|
||||
3. Verify log rotation is not too aggressive
|
||||
|
||||
|
||||
Reference in New Issue
Block a user