In Flashduty On-call
You can obtain an integration push URL in either of the following ways.
Use a dedicated integration
- In the Flashduty console, select Channel and open a channel
- Select Configuration → Integrations → Private integration, then click Add an integration
- Select LogRocket, then click Save
- Open the generated integration card and copy the Push URL
Use a shared integration
- In the Flashduty console, select Integration Center → Alert Events
- Select LogRocket and enter an integration name
- Configure the default route and select a channel; after creation, add more rules under Route if needed
- Click Save and copy the generated Push URL
Configure LogRocket
1
Add a Webhook alert to a Timeseries chart
- In LogRocket, open Analytics → Timeseries, build the chart you want to alert on, and click Save (alerts are supported only on saved Timeseries charts)
- Click Alerts → Create Alert at the top right of the chart, and enter an Alert name
- Under Trigger alert when, set the comparison (greater than or less than), the threshold, and the time window, for example “Session count is less than 1 sessions within 5 minutes”
- Under Send alert via, select Webhook, paste the full Flashduty push URL, including
integration_key, into the Webhook field, and click Save Alert
2
Verify
Push the metric past the threshold and confirm Flashduty receives an active alert; when the metric returns within the threshold, confirm the alert recovers automatically.
Alert Key
The Alert Key is the
alert_id LogRocket sends. LogRocket documents that this ID stays the same across multiple triggerings and resolutions of the same alert, so the trigger and recovery events share one Alert Key. Editing the alert’s threshold, interval, or chart location does not change it. Requests without alert_id are rejected.
Status and severity
The LogRocket webhook carries no severity, and a metric crossing a threshold is not the same as an outage, so every alert is Warning. Any other
status value is rejected.
Labels
The alert title and description come from
reason, which LogRocket fills with the alert name you entered. Without reason the title is LogRocket alert <alert_id>.
Troubleshooting
- Flashduty returns an invalid parameter error: check that the URL is complete and includes
integration_key, and that the request comes from a Timeseries chart alert rather than Issues Alerts - The alert does not recover: check that the resolved notification is sent to the same URL and that its
alert_idmatches the one sent on trigger - The alert stays open for a long time: turn on the channel’s auto-close timeout as a fallback for a lost resolved notification; see Create a channel