In Flashduty On-call
You can get an integration push URL through the following 2 methods, choose one of them.Use dedicated integration
When you don’t need to route alerts to different channels, choose this method, it’s simpler.View dedicated integration setup steps
View dedicated integration setup steps
- Go to Flashduty console, select Channels, enter the details page of a channel
- Select Configuration → Integrations → Private integration, then click Add integration
- Select Huawei Cloud APM integration, click Save to generate a card
- Open the generated integration card and copy the Push URL
Use shared integration
When you need to route alerts to different channels based on alert payload information, this method is preferred.Configure in Huawei Cloud APM
1
Create a topic and an HTTPS subscription in Huawei Cloud SMN
Where: Huawei Cloud console › Simple Message Notification (SMN) › Topic Management › Topics › Create Topic
Return to the topic list and click 
After adding, check that the subscription status in the subscription list shows Confirmed.
Confirm.
Return to the topic list and click Add Subscription on the Flashduty topic. The topic policy’s Services That Can Publish Messages must include APM; otherwise notifications fail to send.
Confirm.
After adding, check that the subscription status in the subscription list shows Confirmed.
2
Add a notification configuration in Huawei Cloud APM
Where: Huawei Cloud console › Application Performance Management (APM) › Application Monitoring › Metrics › Notification › Add
Click
Confirm to complete the configuration.
3
Create an alarm policy in Huawei Cloud APM
Where: Huawei Cloud console › Application Performance Management (APM) › Alarm Center › Alarm Policies › Create Alarm PolicySelect
Note: The current integration configuration only supports application monitoring alerts, and does not fully support front-end monitoring, link tracking, and App monitoring alerts.
Flashduty in the Notification Object drop-down. If the notification object is an HTTP/HTTPS endpoint, leave Notification Format at the default HTML or choose JSON.Legacy entry: Application Monitoring › Metrics › your application › Settings › Alarm Policy › Add Custom Alarm Policy. Per Huawei Cloud, policies created there do not appear under Alarm Center › Alarm Policies (source).Click
Confirm to complete the configuration. You can also edit an existing alarm policy.
Note: The current integration configuration only supports application monitoring alerts, and does not fully support front-end monitoring, link tracking, and App monitoring alerts.4
Trigger an alarm and confirm
Where: Huawei Cloud console › Application Performance Management (APM) › Alarm Center › Alarm PoliciesLet the alarm policy from the previous step fire once (for example, temporarily lower its threshold).
After a few seconds, go back to Flashduty. If the integration shows a Latest event time, the setup works.
Status and severity
Flashduty maps severity by the format of the pushed payload.JSON payload (pushed through SMN):
Text payload: