Problems: Able to select tags evaluation type, fixes #1600

This commit is contained in:
Alexander Zobnin
2023-08-01 15:53:13 +02:00
parent e33812427e
commit 7af3dca545
5 changed files with 33 additions and 4 deletions

View File

@@ -59,6 +59,7 @@ export interface ZabbixMetricsQuery extends DataQuery {
tags?: { filter: string };
triggers?: { minSeverity: number; acknowledged: number; count: boolean };
countTriggersBy?: 'problems' | 'items' | '';
evaltype?: ZabbixTagEvalType;
functions?: MetricFunc[];
options?: ZabbixQueryOptions;
// Problems
@@ -415,3 +416,8 @@ export enum ZabbixAuthType {
UserLogin = 'userLogin',
Token = 'token',
}
export enum ZabbixTagEvalType {
AndOr = '0',
Or = '2',
}