~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/stream

jetstream v2 in zig · mirror of https://tangled.org/zat.dev/stream

0
0
20 lines · 645 B Raw History
# Alertmanager for the stream box: critical and warning alerts go to Discord,
# the same channel zlay pages into. The webhook URL is a secret and lives only
# on the box at /opt/stream-experiment/discord-webhook (owner 65534, mode 400).
route:
  receiver: discord
  group_by: ["alertname"]
  group_wait: 1m
  group_interval: 5m
  repeat_interval: 4h
  routes:
    # StreamProcessRestarted fires once per restart by design.
    - receiver: "null"
      matchers:
        - severity = "info"
receivers:
  - name: "null"
  - name: discord
    discord_configs:
      - webhook_url_file: /etc/alertmanager/discord-webhook
        send_resolved: true