Clarify that {a="b",a!="c"} is possible. (#4492)

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
This commit is contained in:
Brian Brazil 2018-08-13 11:38:57 +01:00 committed by GitHub
parent b04ab71268
commit cd54add5b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,8 +95,9 @@ 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
not have the specific label set at all. Regex-matches are fully anchored. do not have the specific label set at all. Regex-matches are fully anchored. It
is possible to have multiple matchers for the same label name.
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: