From cd54add5b8077c9dfdb78517870c294b33c565da Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Mon, 13 Aug 2018 11:38:57 +0100 Subject: [PATCH] Clarify that {a="b",a!="c"} is possible. (#4492) Signed-off-by: Brian Brazil --- docs/querying/basics.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/querying/basics.md b/docs/querying/basics.md index 65798b74f..7043bca59 100644 --- a/docs/querying/basics.md +++ b/docs/querying/basics.md @@ -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"} -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. +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. 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 that does not match the empty string. The following expression is illegal: -- GitLab