[web-app] 监控项数据详情编码
This commit is contained in:
@@ -83,4 +83,7 @@ export class MonitorService {
|
||||
return this.http.get<Message<Page<Monitor>>>(monitors_uri, options);
|
||||
}
|
||||
|
||||
public getMonitorMetricData(monitorId: number, metric: string) : Observable<Message<any>> {
|
||||
return this.http.get<Message<any>>(`/monitors/${monitorId}/metrics/${metric}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user