Fix #2946 - allow push monitors to update prometheus

pull/4318/head
John W Higgins 12 months ago
parent 5ebea3134a
commit 02af171ec9

@ -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 {

Loading…
Cancel
Save