Clarify expected behaviour of on(__name__)

See https://github.com/prometheus/prometheus/issues/16631

Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
Charles Korn 2025-06-11 13:36:55 +10:00
parent 0c6ef1b23c
commit 5926159f2a
No known key found for this signature in database

View File

@ -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