## Summary
- Add Grafana Alloy to replace node_exporter for metrics collection
- Add Loki for log aggregation and storage
- Configure Alloy to collect logs from all services (grafana, forgejo, prometheus, tailscale, transmission, devpi, kiwix, borgmatic)
- Update Prometheus to accept metrics via remote_write
- Add Loki datasource to Grafana
## Test plan
- [ ] Run \`mise run provision-indri -- --check --diff\` to verify changes
- [ ] Apply with \`mise run provision-indri\`
- [ ] Verify services: \`mise run indri-services-check\`
- [ ] Check Grafana Explore with Loki datasource
- [ ] Query logs: \`{service="grafana"}\`
- [ ] Verify metrics still flowing to Prometheus dashboards
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Reviewed-on: https://forge.tail8d86e.ts.net/eblume/blumeops/pulls/11
12 lines
240 B
YAML
12 lines
240 B
YAML
---
|
|
# Loki configuration
|
|
|
|
# Server settings
|
|
loki_http_port: 3100
|
|
|
|
# Storage paths
|
|
loki_data_dir: /opt/homebrew/var/loki
|
|
loki_config_file: /opt/homebrew/etc/loki-local-config.yaml
|
|
|
|
# Retention settings
|
|
loki_retention_period: 744h # 31 days
|