In Flashduty On-call
You can get the integration push URL in either of the following ways.Use a dedicated integration
Choose this method when you don’t need to route alert events to different channels — it’s simpler.View dedicated integration setup steps
View dedicated integration setup steps
- In the Flashduty console, select Channel and open a channel
- Select Configuration → Integrations → Private integration, then click Add an integration
- Choose Alibaba Cloud Monitor Prometheus integration and click Save to generate a card
- Open the generated integration card and copy the Push URL
Use a shared integration
Choose this option if you need to route alerts to different channels based on the alert payload.In Alibaba Cloud
1
Create a custom webhook
- Log in to the Alibaba Cloud console, search for Cloud Monitor, and open it
- 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
2
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
3
Verify integration
Go back to the integration list in the Flashduty console. If the integration shows a latest event time, the setup works.
Severity mapping
Alibaba Cloud Prometheus to Flashduty severity mapping: