mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-02 11:36:27 -04:00
remember prometheus instance and expose it
in preperation for #2491,#680 and #898
This commit is contained in:
parent
417efd9711
commit
f155ec9ba8
2 changed files with 7 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue