From 5926159f2ac35aeeacc1accfd0a3725a55f4ce35 Mon Sep 17 00:00:00 2001 From: Charles Korn Date: Wed, 11 Jun 2025 13:36:55 +1000 Subject: [PATCH] Clarify expected behaviour of `on(__name__)` See https://github.com/prometheus/prometheus/issues/16631 Signed-off-by: Charles Korn --- docs/querying/operators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/querying/operators.md b/docs/querying/operators.md index 9054b97a56..6367f6e73c 100644 --- a/docs/querying/operators.md +++ b/docs/querying/operators.md @@ -74,7 +74,7 @@ corresponding element from the output vector, flagged by an info-level annotation. **In any arithmetic binary operation involving vectors**, the metric name is -dropped. +dropped unless it is explicitly mentioned in `on`. ### Trigonometric binary operators