Log incoming, parsed alert
1 files changed, 4 insertions(+), 0 deletions(-) M main.go
M main.go => main.go +4 -0
@@ 240,6 240,10 @@ func (rcv *receiver) handleWebhooks(w http.ResponseWriter, r *http.Request) { return } if rcv.logger.Level() == log.Debug { rcv.logger.Debugf("Received alert %+v", event) } if rcv.cfg.alertMode == single { notifications := rcv.singleAlertNotifications(&event) for _, n := range notifications {