Compare commits

...

2 commits

Author SHA1 Message Date
John W Higgins
be693c2858
Merge 02af171ec9 into 8a432ac937 2024-11-12 18:00:25 +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; retries = 0;
log.debug("monitor", `[${this.name}] timeout = ${timeout}`); log.debug("monitor", `[${this.name}] timeout = ${timeout}`);
this.heartbeatInterval = setTimeout(safeBeat, timeout); this.heartbeatInterval = setTimeout(safeBeat, timeout);
bean.status = UP;
this.prometheus?.update(bean, tlsInfo);
return; return;
} }
} else { } else {