* add documentation to label_format and line_format
* fix linting
* Remove extra space
(cherry picked from commit 0b6b8de6f8)
Co-authored-by: Caleb Collins-Parks <46505081+caleb15@users.noreply.github.com>
This commit is contained in:
co-authored by
Caleb Collins-Parks
parent
e81a5bc015
commit
f2b7582671
@@ -79,12 +79,14 @@ export const PIPE_OPERATORS: CompletionItem[] = [
|
||||
{
|
||||
label: 'label_format',
|
||||
insertText: 'label_format',
|
||||
documentation: 'Only available in Loki 2.0+.',
|
||||
documentation:
|
||||
'Use to rename, modify or add labels. For example, | label_format foo=bar . Only available in Loki 2.0+.',
|
||||
},
|
||||
{
|
||||
label: 'line_format',
|
||||
insertText: 'line_format',
|
||||
documentation: 'Only available in Loki 2.0+.',
|
||||
documentation:
|
||||
'Rewrites log line content. For example, | line_format "{{.query}} {{.duration}}" . Only available in Loki 2.0+.',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user