Skip to main content

Configure Routing Rules

Go to Integration Center → Alert Events → Integration Details → RoutingAdd Route.

Configuration

Config ItemDescription
Match ConditionFilter alerts by labels, attributes, etc.; supports exact, wildcard, regex matching
Routing ModeSee detailed description below
Flow ControlContinue Matching (default): Continue matching subsequent rules after hit; Stop Matching: Don’t match further after hit
Default RouteFallback rule that takes effect when no rules match

Routing Modes

ModeDescriptionUse Case
Standard RoutingManually select target channelAlert-to-channel mapping is fixed
Name MappingMap specified label value to channel name, auto-deliverAlerts already carry business identifier and channel name matches label value
When using name mapping mode, if corresponding channel doesn’t exist, delivers to default route or discards.
Routing rules configuration

Operation Tips

FeatureDescription
Adjust OrderUse up/down arrows or drag rules to adjust match priority; also supports grouping and sorting by channel for easier management of large rule sets
Insert RuleQuickly insert new rules before or after a specified rule without manually dragging to adjust position
Filter RulesFilter by channel to quickly locate all rules delivering to a specific channel, ideal for scenarios with many rules
Edit HistoryView historical configuration versions, compare differences, and quickly restore (see details below)
Route PreviewAfter editing routing rules, click the preview button and select up to 20 real alerts to see how the modified rules would route each alert. The system displays routing differences between old and new rules, including added, removed, and unchanged channels
Copy RulesClick the copy button to copy routing rules from another integration to the current one. Three modes are supported: Prepend (insert copied rules before existing ones), Append (add copied rules after existing ones), and Replace (replace all existing rules with copied ones)

Edit History

Routing rules support viewing edit history, helping you track configuration changes and quickly roll back when needed. Click the Edit History button on the routing configuration page to open the sidebar panel. History records are grouped by date, and each record includes the version number, operator, and modification time. The currently active version is labeled Current Version. You can perform the following actions:
ActionDescription
CompareClick any historical version to view the configuration differences between that version and the current version (Diff view)
RestoreIn the comparison view, choose to restore routing rules to the selected historical version
Edit history supports infinite scroll loading, fetching 50 records at a time.

Configuration Examples

Scenario: Deliver alerts from the same business group in monitoring platform to corresponding channel.
Config ItemValue
Match ConditionLabels.group_name equals Flashduty
Routing ModeStandard Routing
Deliver ToFlashduty
Route by business group

FAQ

Check if alert event attributes/labels match the rule, and if rule configuration is correct.
Each channel will generate a corresponding incident. We recommend selecting multiple channels in the same rule to avoid duplication.
Confirm reported alerts can hit configured routing rules. We recommend configuring a default fallback route to receive unmatched alerts.
No. The default route only takes effect when no routing rules match the alert. If any rule has already matched (regardless of whether flow control is set to ‘continue’ or ‘stop’), the default route will not be triggered.

Further Reading

Integrate Alerts

Learn the difference between dedicated and shared integrations

Configure Filter Conditions

Learn condition matching syntax

Configure Label Enhancement

Dynamically generate or modify alert labels

Configure Alert Processing

Cleanse and transform alert data at source