prometheus/cmd/promtool/testdata/features.yml
Vishal More 1364c882c6
promtool: add promql-binop-fill-modifiers to --enable-feature handling (#19153)
Signed-off-by: vishal <httpsvishal07@gmail.com>
2026-07-13 10:57:05 +10:00

12 lines
461 B
YAML

groups:
- name: features
rules:
# We don't expect anything from these, just want to check the syntax parses.
- record: promql-experimental-functions
expr: sort_by_label(up, "instance")
- record: promql-duration-expr
expr: rate(up[1m * 2])
- record: promql-extended-range-selectors
expr: rate(up[1m] anchored)
- record: promql-binop-fill-modifiers
expr: rate(up[5m]) + fill(0) rate(down[5m])