Your monitoring system posts an alert to our URL; an incident opens and the responder is notified. When the alert clears, the incident closes by itself.
Getting the URL
Duty → rotation → “Integration” → “Generate webhook token”. You are given a URL like this:
POST https://taskfly.az/api/duty/incidents/<token>Grafana Alerting
Alerting → Contact points → Add contact point → Integration: Webhook. Put the URL above in the URL field, method POST. Nothing else needs configuring — Grafana's default body is accepted as-is.
Prometheus Alertmanager
receivers:
- name: taskfly-duty
webhook_configs:
- url: 'https://taskfly.az/api/duty/incidents/TOKEN'
send_resolved: truesend_resolved: true matters — without it the incident stays open after the alert clears and has to be closed by hand.How an alert is read
| Alert field | In the system |
|---|---|
annotations.summary | The incident title (falls back to labels.alertname) |
labels.severity | Priority: critical / high / warning / info |
annotations.description | The incident body — together with labels and the dashboard link |
fingerprint | The dedup key — a repeated alert does not open a second incident |
status | firing → opens, resolved → closes |
Every alert in a request becomes its own incident — alerts in a group do not overwrite each other.