TP-53168 | Fixed build conflict (#355)

* TP-38709 | Merging the changes to master on the logfix

* TP-53168 | Implemented metrics publishment on failure of RCA generation

* TP-53168 | Added rca generation failure counter to must register alerts

* TP-53168 | fixed log level on rca failure

* TP-53168 | Added incident id as part of log for rca failure

* TP-53168 | Fixed build conflict
This commit is contained in:
Ajay Devarakonda
2024-01-19 18:09:54 +05:30
committed by GitHub
parent 7b5161803b
commit 9ad824c7de

View File

@@ -147,7 +147,7 @@ func (r *RcaService) PostRcaToIncidentChannel(postRcaRequest service.PostRcaRequ
return err
}
logger.Error(fmt.Sprintf("RCA generation for incident %s had failed due to the reason: %s", rcaEntity.IncidentID, failureData.Reason))
logger.Error(fmt.Sprintf("RCA generation for incident %d had failed due to the reason: %s", rcaEntity.IncidentID, failureData.Reason))
rcaEntity.Status = "FAILURE"
rcaEntity.UpdatedAt = time.Now()