mirror of
https://github.com/prometheus/prometheus.git
synced 2026-07-15 04:01:13 -04:00
12 lines
461 B
YAML
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])
|