This website requires JavaScript.
Explore
Help
Sign in
eblume
/
blumeops
Watch
1
Star
1
Fork
You've already forked blumeops
0
Code
Issues
Pull requests
Projects
Releases
83
Packages
Wiki
Activity
Actions
78f14f8bde
blumeops
/
ansible
/
roles
/
loki
/
handlers
/
main.yml
5 lines
102 B
YAML
Raw
Normal View
History
Unescape
Escape
Add Grafana Alloy and Loki for unified observability (#11) ## 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
2026-01-15 12:24:13 -08:00
---
-
name
:
restart loki
ansible.builtin.command
:
brew services restart loki
Fix ansible handler timeouts for alloy and loki restarts Use async with poll: 0 to fire-and-forget service restarts. These services have graceful shutdown periods that can exceed ansible's default command timeout. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 12:39:28 -08:00
async
:
120
poll
:
0
Reference in a new issue
Copy permalink