Skip to content

Conversation

simonpasquier
Copy link
Member

This commit fixes the evaluation of invalid expressions like sum(rate(. Before that, it would trigger a panic in the PromQL engine because it tried to access an index which is out of range.

The bug was probably introduced by 06d0b06.

This commit fixes the evaluation of invalid expressions like
`sum(rate(`. Before that, it would trigger a panic in the PromQL engine
because it tried to access an index which is out of range.

The bug was probably introduced by 06d0b06.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
@roidelapluie roidelapluie merged commit 8f75da3 into prometheus:main Jun 20, 2025
27 checks passed
@roidelapluie
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants