Leveraging Labels from my Prometheus Rules I'm able to generate seperate emails for different label types.
However, when the Rules fire I receive an email with all instances configured with that label. Is there a way
to generate a separate alert for each instance when the Rule fires? Plans are to send the email to our ticketing
system, and I need a one for one solution to avoid bundling multiple alerts into one ticket. If not, I'll need
to leverage the ticketing solution to parse for delimiters to generate a ticket for each instance. Thank You
in advance for any help.
Labels
alertname = node-mem-usage
app = prometheus
chart = prometheus-6.2.1
component = node-exporter
heritage = Tiller
instance = xxx.xxx.xxx.xx2:9100
io_cattle_field_appId = prometheus
job = kubernetes-service-endpoints
kubernetes_name = prometheus-node-exporter
kubernetes_namespace = prometheus
release = prometheus
type = node-mem-usage
Annotations
description = xxx.xxx.xxx.xx2:9100 High Node Memory Percentage Usage.
Source
Labels
alertname = node-mem-usage
app = prometheus
chart = prometheus-6.2.1
component = node-exporter
heritage = Tiller
instance = xxx.xxx.xxx.xx1:9100
io_cattle_field_appId = prometheus
job = kubernetes-service-endpoints
kubernetes_name = prometheus-node-exporter
kubernetes_namespace = prometheus
release = prometheus
type = node-mem-usage
Annotations
description = xxx.xxx.xxx.xx1:9100 High Node Memory Percentage Usage.