feat: visualize metrics in InstanceList

This commit is contained in:
Qiuxia Fan
2022-01-23 17:01:58 +08:00
parent e26380c359
commit 0f01ac34a9
10 changed files with 157 additions and 15 deletions

View File

@@ -65,6 +65,8 @@ export interface LineConfig extends AreaConfig {
smooth?: boolean;
showSymbol?: boolean;
step?: boolean;
showXAxis?: boolean;
showYAxis?: boolean;
}
export interface AreaConfig {

View File

@@ -22,3 +22,12 @@ export type Service = {
normal: boolean;
group: string;
};
export type Instance = {
value: string;
label: string;
layer: string;
language: string;
instanceUUID: string;
attributes: { name: string; value: string }[];
};