Hi All,
I’m currently working on one scenario - generate alert if pod has been restarted. I’m getting all alerts in single maiI for all services whose pod has been restarted. But I want I should get separate mail(alert) for each services(not pod wise).
Suppose, our query returns below details-
E.g.
1. service1 - pod1 - restarted
2. service1 - pod2 - restarted
3. service2 - pod1 - restarted
4. service3 - pod1 - restarted
Like Here, I should get 03 separate mail(alert)
First mail - alert about service1 - pod1 and service1 - pod2
second mail - alert about service2 - pod1
third mail - alert about service3 - pod1
Thanks,