mirror of
https://github.com/prometheus/prometheus.git
synced 2026-03-27 04:44:19 -04:00
This implements the TRIM_UPPER (</) and TRIM_LOWER (>/) operators that allow removing observations below or above a threshold from a histogram. The implementation zeros out buckets outside the desired range. It also recalculates the sum, including only bucket counts within the specified threshold range. Fixes #14651. Signed-off-by: sujal shah <sujalshah28092004@gmail.com> |
||
|---|---|---|
| .. | ||
| expression.txt | ||
| promql.test.js | ||