Commit a9568dfa authored by Brian Brazil's avatar Brian Brazil

Merge pull request #254 from prometheus/fix-wrong-anchoring-statement

Remove wrong anchoring statement for regex matchers
parents 3c5a5d22 86b5534f
...@@ -85,7 +85,7 @@ For example, this selects all `http_requests_total` time series for `staging`, ...@@ -85,7 +85,7 @@ For example, this selects all `http_requests_total` time series for `staging`,
http_requests_total{environment=~"staging|testing|development",method!="GET"} http_requests_total{environment=~"staging|testing|development",method!="GET"}
Label matchers that match empty label values also select all time series that do Label matchers that match empty label values also select all time series that do
not have the specific label set at all. Regex-matches are fully anchored. not have the specific label set at all. Regex-matches are not anchored.
Vector selectors must either specify a name or at least one label matcher Vector selectors must either specify a name or at least one label matcher
that does not match the empty string. The following expression is illegal: that does not match the empty string. The following expression is illegal:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment