Loading src/main/java/org/etsi/osl/hypo/api/tmf/webhook/adapter/AlertResource.java +4 −0 Original line number Diff line number Diff line Loading @@ -78,6 +78,10 @@ public class AlertResource { Alert alert = alerts.get(0); String container = alert.getLabels().get("container"); if (container == null || container.isEmpty()) { logger.warnf("Alert did not belong to hypo service"); return Response.ok().build(); } logger.infof("Received a new alarm from Grafana Loki for %s", container); logger.debugf("Received: %s", grafanaPayload.toJsonString()); Loading Loading
src/main/java/org/etsi/osl/hypo/api/tmf/webhook/adapter/AlertResource.java +4 −0 Original line number Diff line number Diff line Loading @@ -78,6 +78,10 @@ public class AlertResource { Alert alert = alerts.get(0); String container = alert.getLabels().get("container"); if (container == null || container.isEmpty()) { logger.warnf("Alert did not belong to hypo service"); return Response.ok().build(); } logger.infof("Received a new alarm from Grafana Loki for %s", container); logger.debugf("Received: %s", grafanaPayload.toJsonString()); Loading