Extend metric query type

This commit is contained in:
Alexander Zobnin
2020-12-22 17:09:58 +03:00
parent 32ccb28c34
commit 4b98f58f66

View File

@@ -37,21 +37,23 @@ export interface ZabbixMetricsQuery extends DataQuery {
triggers: { minSeverity: string; acknowledged: boolean; count: number; }; triggers: { minSeverity: string; acknowledged: boolean; count: number; };
queryType: string; queryType: string;
datasourceId: number; datasourceId: number;
functions: ZabbixMetricFunction[]; group: { filter: string; name: string; };
options: ZabbixQueryOptions; host: { filter: string; name: string; };
application: { filter: string; name: string; };
item: { filter: string; name: string; };
textFilter: string; textFilter: string;
mode: number; mode: number;
itemids: number[]; itemids: number[];
useCaptureGroups: boolean; useCaptureGroups: boolean;
group: { filter: string; name: string; };
host: { filter: string; name: string; };
hostFilter: string;
application: { filter: string; name: string; };
item: { filter: string; name: string; };
itemFilter: string;
proxy?: { filter: string; }; proxy?: { filter: string; };
trigger?: { filter: string; }; trigger?: { filter: string; };
itServiceFilter?: string; itServiceFilter?: string;
tags?: { filter: string; }
functions: ZabbixMetricFunction[];
options: ZabbixQueryOptions;
// Deprecated
hostFilter?: string;
itemFilter?: string;
} }
export interface ZabbixQueryOptions { export interface ZabbixQueryOptions {