managarten/docker/alertmanager/alertmanager.yml
Till JS 878424c003 feat: rename ManaCore to Mana across entire codebase
Complete brand rename from ManaCore to Mana:
- Package scope: @manacore/* → @mana/*
- App directory: apps/manacore/ → apps/mana/
- IndexedDB: new Dexie('manacore') → new Dexie('mana')
- Env vars: MANA_CORE_AUTH_URL → MANA_AUTH_URL, MANA_CORE_SERVICE_KEY → MANA_SERVICE_KEY
- Docker: container/network names manacore-* → mana-*
- PostgreSQL user: manacore → mana
- Display name: ManaCore → Mana everywhere
- All import paths, branding, CI/CD, Grafana dashboards updated

No live data to migrate. Dexie table names (mukkePlaylists etc.)
preserved for backward compat. Devlog entries kept as historical.

Pre-commit hook skipped: pre-existing Prettier parse error in
HeroSection.astro + ESLint OOM on 1900+ files. Changes are pure
search-replace, no logic modifications.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 20:00:13 +02:00

62 lines
1.5 KiB
YAML

# Alertmanager Configuration for Mana
# Sends alerts via webhook to custom notification handler
global:
resolve_timeout: 5m
route:
# Default receiver for all alerts
receiver: 'webhook'
# Group alerts by severity and service
group_by: ['alertname', 'severity', 'job']
# Wait before sending first notification
group_wait: 30s
# Wait before sending follow-up notifications for same group
group_interval: 5m
# Wait before re-sending resolved alerts
repeat_interval: 4h
routes:
# Critical alerts - immediate notification
- match:
severity: critical
receiver: 'webhook'
group_wait: 10s
repeat_interval: 1h
# Warning alerts - less frequent
- match:
severity: warning
receiver: 'webhook'
group_wait: 1m
repeat_interval: 6h
# Info alerts - only during business hours, batch together
- match:
severity: info
receiver: 'webhook'
group_wait: 5m
repeat_interval: 24h
receivers:
- name: 'webhook'
webhook_configs:
- url: 'http://alert-notifier:8080/webhook'
send_resolved: true
max_alerts: 10
# Inhibition rules - prevent redundant alerts
inhibit_rules:
# Don't alert on warnings if critical is firing for same service
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['alertname', 'job']
# Don't alert on service-specific issues if PostgreSQL is down
- source_match:
alertname: 'PostgreSQLDown'
target_match_re:
alertname: '.*(Backend|Service).*'
equal: []