Loki: Add missing operators in label filter expression (#51880)

This commit is contained in:
Ivana Huckova 2022-07-08 15:33:03 +02:00 committed by GitHub
parent 0c88850070
commit 99fb29850e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,7 +284,7 @@ export function getOperationDefinitions(): QueryBuilderOperationDef[] {
name: 'Label filter expression',
params: [
{ name: 'Label', type: 'string' },
{ name: 'Operator', type: 'string', options: ['=', '!=', '>', '<', '>=', '<='] },
{ name: 'Operator', type: 'string', options: ['=', '!=', ' =~', '!~', '>', '<', '>=', '<='] },
{ name: 'Value', type: 'string' },
],
defaultParams: ['', '=', ''],