Compare commits

...

1 Commits

Author SHA1 Message Date
26e202f817
Added some debugging
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-05 14:02:29 +00:00

View File

@ -15,6 +15,8 @@ func HandleAlertmanagerPayloadPost(c *fiber.Ctx) error {
return err
}
fmt.Println("Got alertmanager payload")
fmt.Println(payload)
for _, alert := range payload.Alerts {
message := ""
if alert.Status == "firing" {