Compare commits
1 Commits
98d3a918bd
...
8529033bc4
Author | SHA1 | Date | |
---|---|---|---|
8529033bc4 |
@ -16,6 +16,8 @@ func HandleAlertmanagerPayloadPost(c *fiber.Ctx) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("Got alertmanager payload")
|
fmt.Println("Got alertmanager payload")
|
||||||
|
fmt.Println(len(payload.Alerts))
|
||||||
|
fmt.Println(payload.Alerts)
|
||||||
|
|
||||||
for _, alert := range payload.Alerts {
|
for _, alert := range payload.Alerts {
|
||||||
message := ""
|
message := ""
|
||||||
|
Loading…
Reference in New Issue
Block a user