mirror of
https://github.com/grafana/grafana.git
synced 2025-01-13 09:32:12 -06:00
loki_datasource: add documentation to label_format and line_format (#31710)
* add documentation to label_format and line_format * fix linting * Remove extra space
This commit is contained in:
parent
e23bae5ec5
commit
0b6b8de6f8
@ -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+.',
|
||||
},
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user