remember prometheus instance and expose it

in preperation for #2491,#680 and #898
This commit is contained in:
Thomas Spalinger 2023-01-24 09:14:16 +00:00
parent 417efd9711
commit f155ec9ba8
2 changed files with 7 additions and 10 deletions

View file

@ -674,9 +674,6 @@ let needSetup = false;
throw new Error("Permission denied.");
}
// Reset Prometheus labels
server.monitorList[monitor.id]?.prometheus()?.remove();
bean.name = monitor.name;
bean.type = monitor.type;
bean.url = monitor.url;