Compare commits

...

2 commits

Author SHA1 Message Date
John W Higgins
8f0b247286
Merge 02af171ec9 into c01494ec33 2024-10-20 13:57:15 +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 {