Filter problems by time range, fix #1094

This commit is contained in:
Alexander Zobnin
2020-12-23 12:48:46 +03:00
parent 3f10be6a9d
commit 98025026f7
4 changed files with 15 additions and 6 deletions

View File

@@ -51,6 +51,8 @@ export interface ZabbixMetricsQuery extends DataQuery {
tags?: { filter: string; };
functions: ZabbixMetricFunction[];
options: ZabbixQueryOptions;
// Problems
showProblems?: ShowProblemTypes;
// Deprecated
hostFilter?: string;
itemFilter?: string;
@@ -67,6 +69,8 @@ export interface ZabbixQueryOptions {
hostsInMaintenance?: boolean;
hostProxy?: boolean;
limit?: number;
useTimeRange?: boolean;
severities?: number[];
}
export interface ZabbixMetricFunction {