-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Currently users have no way to see details about where alerts instances are going to be routed other than a link to the Alerting section. We should implement a solution so that we can show the routing and contact point associated to these alerts.
The alerting team is adding the route matching functionality to the alerting
package so that we and other interested plugins can consume it.
We should consume this code and implement a solution similar to what's described in this comment:
🔔 Alert Routing Summary
This alert includes the following labels:
team_name: frontend
label_name: label_value
✅ This alert will be routed to: Slack – #some-channel📬 Notification Contact Points:
Slack: #some-channel
Email: [email protected]
🔧 [Edit notification policies]
📚 [Learn how alert routing works]Or in the case where theres no matching policy:
🔔 Alert Routing Summary
This alert includes the following labels:
team_name: frontend
label_name: label_value
⚠️ This alert does not match any notification policy.
You may not receive notifications unless a matching policy is created. click here to create a policy➡️ [Create a policy with these labels]
📚 [Learn how alert routing works]