thanos-io / thanos

Highly available Prometheus setup with long term storage capabilities. A CNCF Incubating project.
https://thanos.io
Apache License 2.0
12.67k stars 2.03k forks source link

*: Promql changes to add support to extended functions throught Thanos #7338

Closed pedro-stanaka closed 3 weeks ago

pedro-stanaka commented 3 weeks ago

This is a follow up to #7331.

Changes

In this PR I am introducing a new faillint rule to avoid using prometheus parser directly, but rather use our internal parser package that has support for extended functions (xrate, xincrease, etc.).