Skip to main content
Sync Skywalking alert events to Flashduty via webhook for automated alert noise reduction.

In Flashduty


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 and recommended.

Using Shared Integration

Choose this method when you need to route alerts to different channels based on the alert event’s payload information.

In Skywalking


I. Modify Skywalking Service Configuration File

  1. Log in to the Skywalking server
  2. Locate the Skywalking configuration file ./config/alarm-settings.yml
  3. Add level tags to the alert rules
# Tags are supported in v8.6.0+ versions only, can be omitted for other versions
# level values: Critical, Warning, Info
# Case sensitive
rules:
    endpoint_relation_resp_time_rule:
        expression: sum(endpoint_relation_resp_time > 1000) >= 2
        period: 10
        message: Response time of endpoint relation {name} is more than 1000ms in 2 minutes of last 10 minutes
        tags:
            level: Warning
  1. Add the Flashduty webhook URL
# Add at the bottom of the configuration file
# For v8.8.0 ~ v9.5.0
webhooks:
    - url: https://api.flashcat.cloud/event/push/alert/skywalking?integration_key=18c7f1551df55fa28a1a87f0846d9d1e131

# For v10.0.0
hooks:
  webhook:
    default:
      is-default: true
      urls:
        - https://api.flashcat.cloud/event/push/alert/skywalking?integration_key=18c7f1551df55fa28a1a87f0846d9d1e131
  1. After editing, save and restart the Skywalking service to apply the configuration

II. Status Mapping

SkywalkingFlashdutyStatus
CriticalCriticalCritical
WarningWarningWarning
InfoInfoInfo
Others or EmptyInfoInfo