Skip to content

Add support for binop fill modifiers #8835

Description

@wiardvanrij

Prometheus v3.10.0 (released 2026-02-24). The PR is #17644 (prometheus/prometheus#17644).

The proposal is prometheus/proposals#70 (https://github.com/prometheus/proposals/blob/main/proposals/0070-binop-fill-modifier.md).
It adds three modifiers: fill(), fill_left(), fill_right() for binary operations.

This requires a dep bump v3.9.1 to ≥v3.10.0 for the PromQL engine and then an update on https://github.com/thanos-io/promql-engine/ which should partially implement this from scratch to include these operations.

I'm aware that the feature is still gated as experimental on Prometheus but visa-versa it was even debatable if this had to be an experimental feature in the first place. Beyond that, I do think implementing these functions allows for a better feedback loop.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions