diff --git a/public/app/plugins/datasource/loki/syntax.ts b/public/app/plugins/datasource/loki/syntax.ts index 13f7e3639e6..979b5e07e97 100644 --- a/public/app/plugins/datasource/loki/syntax.ts +++ b/public/app/plugins/datasource/loki/syntax.ts @@ -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+.', }, ];