Compare commits

...

2 commits

Author SHA1 Message Date
John W Higgins
98fc77c598
Merge 02af171ec9 into 6899603eb7 2024-11-09 15:30:20 +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 {