Merge pull request #3405 from grobinson-grafana/grobinson/fix-docs

Fix example matchers in docs
This commit is contained in:
Simon Pasquier 2023-08-03 17:55:36 +02:00 committed by GitHub
commit e5771e2c93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.