In Flashduty On-call
You can get the integration push URL in either of the following ways.
Use a dedicated integration
- In the Flashduty console, go to Channels and open a channel
- Select Configuration → Integrations → Private integration, then click Add an integration
- Select Coroot and click Save
- Open the new integration card and copy the push URL
Use a shared integration
- In the Flashduty console, go to Integration Center → Alert Events
- Select Coroot and enter an integration name
- Configure the default route and pick a channel; add more rules under Routes later
- Click Save and copy the generated push URL
In Coroot
1
Create a Webhook integration
- In Coroot, go to Project Settings → Notifications (the Notification integrations list) and click Configure on the Webhook row
- Paste the full Flashduty push URL into Webhook URL
- Enable Incidents and Alerts. Deployments do not become alerts, so leave it off (if enabled, Flashduty receives and ignores deployment notifications)
- No HTTP basic authentication is needed; Coroot always sends
Content-Type: application/json
2
Fill in the templates
Use Coroot’s built-in To carry fixed values such as the environment or team into Flashduty, add key-value pairs under Custom fields (for example
json function in both the Incident template and the Alert template:environment = production). Coroot puts them at the top level of the JSON, and Flashduty turns them into labels.3
Turn on notification routing
- Go to Project Settings → Applications and select an application category
- Turn on Webhook for Incidents and Alerts; repeat for every category you want to cover
4
Verify
- Back in the Webhook integration form, click Send test alert. Flashduty returns success and opens an Info alert titled
Coroot test notification, which you close manually. Each click opens a new test alert - Let an alerting rule or SLO actually fire and confirm Flashduty shows an active alert; then let it resolve and confirm the same alert closes
Alert Key
Flashduty uses the ID carried in the
url field of the Coroot notification as the Alert Key:
Coroot generates a unique ID when it creates an alert or incident, and the open and resolve notifications use the same one. If the same rule fires again on the same application, Coroot creates a new ID, so it is a new Flashduty alert. Changes to severity, rule name, summary or the domain in
url never change the Alert Key.
Status and severity
Coroot sends a notification only when an alert or incident opens or resolves; a severity change in between is not notified.
- When an alert resolves, the original severity comes from the
severityfield (warningorcritical) - An incident notification carries only
status, so its recovery event gets the Info severity - An unrecognized
statusis treated as Warning, so that Coroot is not made to pause later notifications by an error response
Labels
Troubleshooting
Coroot logs show failed to send alert ... 400
Coroot logs show failed to send alert ... 400
Check that both templates are
{{ json . }} and that the push URL is complete and includes integration_key. Flashduty returns 400 when it cannot read an ID from url; Coroot then keeps retrying for an hour and holds back later notifications to the same destination.An alert does not recover
An alert does not recover
Check that neither the Alert template nor the Incident template was changed to custom text, and that the application category has Webhook enabled for both Alerts and Incidents. The resolve notification is linked to the trigger only through the ID in
url.No Alert notifications arrive
No Alert notifications arrive
Coroot sends no Alert notification when the Alert template is empty, so make sure it is filled in. Also check that Webhook is enabled for Alerts on the category under Project Settings → Applications.
The test succeeds but real alerts do not arrive
The test succeeds but real alerts do not arrive
The Send test alert button sends one fixed test incident and bypasses application category routing. Check the notification settings of the category the application belongs to, and whether the alerting rule really fires.
Do deployment notifications become alerts?
Do deployment notifications become alerts?
No. Deployment notifications (
url points to the application’s Deployments page) are accepted and ignored by Flashduty, whatever their status.