Compare commits

...

2 commits

Author SHA1 Message Date
John W Higgins
341ad125d0
Merge 02af171ec9 into d7ffa33950 2024-10-18 00:25:34 +00:00
John W Higgins
02af171ec9 Fix #2946 - allow push monitors to update prometheus 2024-01-03 13:17:34 -08:00

View file

@ -642,6 +642,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 {