Compare commits
1 Commits
98d3a918bd
...
26e202f817
Author | SHA1 | Date | |
---|---|---|---|
26e202f817 |
@ -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" {
|
||||
|
Loading…
Reference in New Issue
Block a user