Fix example matchers in docs

Signed-off-by: George Robinson <george.robinson@grafana.com>
This commit is contained in:
George Robinson 2023-06-22 10:49:39 +01:00
parent a85979e19d
commit eaac8b7b2e
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ Here are some examples of valid string matchers:
As shown below, in the short-form, it's generally better to quote the list elements to avoid problems with special characters like commas:
```yaml
matchers: [ "foo = bar,baz", "dings != bums" ]
matchers: [ "foo = \"bar,baz\"", "dings != bums" ]
```
3. You can also put both matchers into one PromQL-like string. Single quotes for the whole string work best here.