mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 20:01:28 +00:00
feat: supporting expressions to query metrics data (#270)
This commit is contained in:
7
src/types/dashboard.d.ts
vendored
7
src/types/dashboard.d.ts
vendored
@@ -28,11 +28,14 @@ export interface LayoutConfig {
|
||||
w: number;
|
||||
h: number;
|
||||
i: string;
|
||||
type: string;
|
||||
metricMode?: string;
|
||||
widget?: WidgetConfig;
|
||||
graph?: GraphConfig;
|
||||
metrics?: string[];
|
||||
type: string;
|
||||
expressions?: string[];
|
||||
metricTypes?: string[];
|
||||
typesOfMQE?: string[];
|
||||
children?: { name: string; children: LayoutConfig[] }[];
|
||||
activedTabIndex?: number;
|
||||
metricConfig?: MetricConfigOpt[];
|
||||
@@ -41,6 +44,8 @@ export interface LayoutConfig {
|
||||
eventAssociate?: boolean;
|
||||
filters?: Filters;
|
||||
relatedTrace?: RelatedTrace;
|
||||
subExpressions?: string[];
|
||||
subTypesOfMQE?: string[];
|
||||
}
|
||||
export type RelatedTrace = {
|
||||
duration: DurationTime;
|
||||
|
3
src/types/selector.d.ts
vendored
3
src/types/selector.d.ts
vendored
@@ -21,6 +21,7 @@ export type Service = {
|
||||
layers?: string[];
|
||||
normal?: boolean;
|
||||
group?: string;
|
||||
merge?: string;
|
||||
};
|
||||
|
||||
export type Instance = {
|
||||
@@ -30,12 +31,14 @@ export type Instance = {
|
||||
instanceUUID?: string;
|
||||
attributes?: { name: string; value: string }[];
|
||||
id?: string;
|
||||
merge?: boolean;
|
||||
};
|
||||
|
||||
export type Endpoint = {
|
||||
id?: string;
|
||||
label: string;
|
||||
value: string;
|
||||
merge?: string;
|
||||
};
|
||||
|
||||
export type Service = {
|
||||
|
Reference in New Issue
Block a user