I am creating an alert to tell me if an instance in my MySQL Cluster has a Group Replication Node OFFLINE. I create the rule and it fires fine and is alerting. However, it is not getting pushed to the Notification Policy to alert me via Slack because the Labels the alert generates are more than what I have set for the Notification Policy. I don’t know why that is happening. It seems the labels it generates matches the columns returned from the Preview Alert button while editing the rule. I don’t know how to control that.
Notification Policy Set to alert on 2 labels:
For the rule, the Metric expression used is
The rule is being stored in Folder
The Group is
The notifications has two labels for it:
Also when viewing the rule, the Labels display several additional labels which were automatically created: alert name, datasource_uid, red_id. This may have a factor on why there are so many Labels when the Alert is firing and Alerting. I’ll provide screen shot.
Any help would be appreciated.