diff --git a/blossom-editor/src/renderer/src/api/sentinel.ts b/blossom-editor/src/renderer/src/api/sentinel.ts index b81bb30..3e007ea 100644 --- a/blossom-editor/src/renderer/src/api/sentinel.ts +++ b/blossom-editor/src/renderer/src/api/sentinel.ts @@ -1,23 +1,6 @@ import { defaultRequest as rq } from "./request"; import type { R } from "./request"; -/** - * 应用集群流量详情 - */ -export const metricByAppApi = (params?: object): Promise> => { - // return rq.get>("${BSMS_URL}/sentinel/es/metric/app", params); - return rq.get>("${GATEWAY_URL}/${SERVICE_ID}/sentinel/metric/app", { params }); -}; - -/** - * 资源列表 - */ -export const resourcesApi = (params?: object): Promise> => { - // return rq.get>("${BSMS_URL}/sentinel/es/resources", params); - return rq.get>("${GATEWAY_URL}/${SERVICE_ID}/sentinel/resources", { params }); -}; - - /** * 流量直方图 */