feat(obs): add Loki ruler alert rules and MONITORING.md Loki section (BIT-19957)

- deploy/loki/rules/fake/errors_hub_alerts.yaml: four LogQL-based Loki ruler
  alert rules (error rate per service, fatal detection, ingest-api sustained
  errors, collector-worker stall detection)
- deploy/loki/loki.yaml: add explicit ruler.storage (local), rule_path, and
  enable_api/enable_alertmanager_v2 so Loki loads rules from /loki/rules
- docker-compose.yml: mount deploy/loki/rules → /loki/rules:ro in the loki
  service (observability profile)
- docs/MONITORING.md: add Loki section with label table, alert rule summary,
  config file index, and LXC deployment note

Paperclip-Issue: BIT-19957
Paperclip-Agent: cto
This commit is contained in:
David Santos committed 2026-05-14 09:31:31 +00:00
1 parent c74e05b844
commit 113eee0b97
4 files changed
+142

No files matched your search

+1
View File
@@ -148,6 +148,7 @@ services:
volumes:
- ./deploy/loki/loki.yaml:/etc/loki/loki.yaml:ro
- loki-data:/loki
- ./deploy/loki/rules:/loki/rules:ro
ports:
- "${ER_PUBLISH_LOKI_PORT:-3100}:3100"
healthcheck: