perf(X-Pack): 阈值告警跟随视图删除

This commit is contained in:
fit2cloud-chenyw
2024-08-22 12:40:49 +08:00
parent 6ed2295e17
commit f2e5a9dee4
6 changed files with 27 additions and 3 deletions

View File

@@ -66,4 +66,8 @@ public interface ThresholdApi {
@Operation(summary = "预览信息")
@PostMapping("/preview")
String preview(@RequestBody ThresholdPreviewRequest request);
@Operation(summary = "视图是否设置了阈值告警")
@GetMapping("/anyThreshold/{chartId}")
boolean anyThreshold(@PathVariable("chartId") Long chartId);
}