Add pattern parser to syntax (#37824)

This commit is contained in:
Ivana Huckova 2021-08-15 15:20:37 -04:00 committed by GitHub
parent 1a5529d244
commit 15edaa5837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,11 @@ export const PIPE_PARSERS: CompletionItem[] = [
insertText: 'logfmt',
documentation: 'Extracting labels from the log line using logfmt parser. Only available in Loki 2.0+.',
},
{
label: 'pattern',
insertText: 'pattern',
documentation: 'Extracting labels from the log line using pattern parser. Only available in Loki 2.3+.',
},
];
export const PIPE_OPERATORS: CompletionItem[] = [