mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
fixed explain handlers for label- and lineformat (#58135)
This commit is contained in:
parent
f37e53f060
commit
4b1ddba0a8
@ -189,9 +189,9 @@ export function getOperationDefinitions(): QueryBuilderOperationDef[] {
|
||||
explainHandler: () =>
|
||||
`This will replace log line using a specified template. The template can refer to stream labels and extracted labels.
|
||||
|
||||
Example: \`{{.status_code}} - {{.message}}\`
|
||||
Example: \`{{.status_code}} - {{.message}}\`
|
||||
|
||||
[Read the docs](https://grafana.com/docs/loki/latest/logql/log_queries/#line-format-expression) for more.
|
||||
[Read the docs](https://grafana.com/docs/loki/latest/logql/log_queries/#line-format-expression) for more.
|
||||
`,
|
||||
},
|
||||
{
|
||||
@ -210,9 +210,9 @@ export function getOperationDefinitions(): QueryBuilderOperationDef[] {
|
||||
explainHandler: () =>
|
||||
`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.
|
||||
`,
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user