fixed explain handlers for label- and lineformat (#58135)

This commit is contained in:
Sven Grossmann 2022-11-03 14:57:29 +01:00 committed by GitHub
parent f37e53f060
commit 4b1ddba0a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ export function getOperationDefinitions(): QueryBuilderOperationDef[] {
explainHandler: () => explainHandler: () =>
`This will change name of label to desired new label. In the example below, label "error_level" will be renamed to "level". `This will change name of label to desired new label. In the example below, label "error_level" will be renamed to "level".
Example: error_level=\`level\` Example: \`\`error_level=\`level\` \`\`
[Read the docs](https://grafana.com/docs/loki/latest/logql/log_queries/#labels-format-expression) for more. [Read the docs](https://grafana.com/docs/loki/latest/logql/log_queries/#labels-format-expression) for more.
`, `,