@ -470,10 +470,6 @@ class Monitor extends BeanModel {
this.prometheus().remove();
}
onDelete() {
prometheus() {
return new Prometheus(this);
@ -738,7 +738,6 @@ exports.entryPage = "dashboard";
if (monitorID in monitorList) {
monitorList[monitorID].stop();
monitorList[monitorID].onDelete();
delete monitorList[monitorID];