mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 23:42:32 +00:00
dabd789fd5
When the label name of a matcher contains non-standard characters, like a dot, or starts with a digit, it should be quoted. If it's not quoted, then `VectorSelector.String()` isn't a valid PromQL. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> |
||
---|---|---|
.. | ||
posrange | ||
ast.go | ||
functions.go | ||
generated_parser.y | ||
generated_parser.y.go | ||
lex_test.go | ||
lex.go | ||
parse_test.go | ||
parse.go | ||
prettier_rules.md | ||
prettier_test.go | ||
prettier.go | ||
printer_test.go | ||
printer.go | ||
value.go |