Compare commits

...

2 commits

Author SHA1 Message Date
John W Higgins
975c23a5ec
Merge 02af171ec9 into d2f71d11d6 2024-10-22 08:49:02 +00:00
John W Higgins
02af171ec9 Fix #2946 - allow push monitors to update prometheus 2024-01-03 13:17:34 -08:00

View file

@ -645,6 +645,10 @@ class Monitor extends BeanModel {
retries = 0;
log.debug("monitor", `[${this.name}] timeout = ${timeout}`);
this.heartbeatInterval = setTimeout(safeBeat, timeout);
bean.status = UP;
this.prometheus?.update(bean, tlsInfo);
return;
}
} else {