In Flashduty On-call
You can obtain an integration push URL through either of these two methods:
Using private integration
Choose this method when you don’t need to route alert events to different channels — it’s simpler.Expand
Expand
- Go to the Flashduty console, select Channel, and enter a channel’s details page
- Select the Integrations tab, click Add Integration to enter the integration page
- Choose Alibaba Cloud Monitor Prometheus integration and click Save to generate a card
- Click the generated card to view the Push URL, copy it for later use
Using shared integration
Choose this method when you need to route alerts to different channels based on the alert event payload.Expand
Expand
- Go to the Flashduty console, select Integration Center => Alert Events to enter the integration selection page
- Select Alibaba Cloud Monitor Prometheus integration:
- Integration Name: Define a name for this integration
- Configure the default route and select the corresponding channel (after creation, go to
Routeto configure more routing rules) - Click Save and copy the newly generated Push URL for later use
In Alibaba Cloud
Create a custom webhook
- Log in to the Alibaba Cloud console, search for Cloud Monitor, and enter the corresponding console
- In the left menu, select Prometheus Monitoring → Notification Objects, and create or edit a Custom Webhook
- Enter
Flashdutyfor both the name and identifier, and enter the integration push URL in theURLfield - In
Headers, set Header Key toContent-Typeand Header Value toapplication/json - Select POST for
Methodand JSON forData Format - Click OK to complete
Configure alert rules
- In the left menu, select Prometheus Monitoring → Alert Rules, and create or edit an alert rule
- In the Notification Mode section, select Simple Mode
- For Notification Object, select the custom webhook created in the previous step
- Click OK to complete
Severity mapping
Alibaba Cloud Prometheus to Flashduty severity mapping:
| Alibaba Cloud Monitor | Flashduty | Status |
|---|---|---|
| Critical | Critical | Critical |
| Error | Critical | Critical |
| Warning | Warning | Warning |
| Normal | Info | Info |