|
|
@ -567,6 +567,11 @@ exports.entryPage = "dashboard";
|
|
|
|
throw new Error("Permission denied.");
|
|
|
|
throw new Error("Permission denied.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Reset Prometheus labels
|
|
|
|
|
|
|
|
if (monitorList[monitor.id] && monitorList[monitor.id].prometheus) {
|
|
|
|
|
|
|
|
monitorList[monitor.id].prometheus().remove();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bean.name = monitor.name;
|
|
|
|
bean.name = monitor.name;
|
|
|
|
bean.type = monitor.type;
|
|
|
|
bean.type = monitor.type;
|
|
|
|
bean.url = monitor.url;
|
|
|
|
bean.url = monitor.url;
|
|
|
|