Skip to main content
Sync Huawei Cloud APM alerts to Flashduty through webhook.

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.
  1. Go to Flashduty console, select Channels, enter the details page of a channel
  2. Select Configuration → Integrations → Private integration, then click Add integration
  3. Select Huawei Cloud APM integration, click Save to generate a card
  4. 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.
  1. In the Flashduty console, go to Integration Center → Alerts
  2. Select Huawei Cloud APM integration:
    • Integration Name: Define a name for the current integration
  3. Configure the default route and select a channel. You can add more rules under Routing after creation
  4. Click Save and copy the generated Push URL

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 TopicConfirm.Create the Flashduty topicReturn 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.Add subscription entryConfirm.Enter the push URL as the subscription endpointAfter adding, check that the subscription status in the subscription list shows Confirmed.Subscription status Confirmed
2

Add a notification configuration in Huawei Cloud APM

Where: Huawei Cloud console › Application Performance Management (APM) › Application Monitoring › Metrics › Notification › AddClick Confirm to complete the configuration.APM notification 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 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.APM alarm policyNote: 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: