promql-parser icon indicating copy to clipboard operation
promql-parser copied to clipboard

Support for Prometheus 3.0+

Open harry671003 opened this issue 2 months ago • 2 comments

Support for Prometheus 3.0 features

Description

Hello maintainers,

I'm currently using promql-parser and noticed that according to the documentation, this crate is compatible with Prometheus v2.45.0.

Current Status

According to the crates.io page, this crate declares compatibility with Prometheus v2.45.0 (released 2023-06-23).

Context

Prometheus 3.0 has been released with several PromQL enhancements and changes. The Prometheus 3.0 migration guide outlines various PromQL updates that may affect parser compatibility.

Questions

  1. Are there plans to update this crate to support Prometheus 3.0?
  2. Are you accepting contributions for this work?
  3. Are there any known incompatibilities between the current parser and Prometheus 3.0 PromQL?

Thank you for maintaining this crate!

harry671003 avatar Oct 08 '25 17:10 harry671003

  1. Currently, we don't have a plan to update the support. cc @sunng87
  2. Sure, contributions are welcome!
  3. We haven't tested that yet. According to the Prometheus 3.0 migration guide, most changes aren't related to the syntax. Perhaps there are very few incompatibilities.

evenyag avatar Oct 09 '25 02:10 evenyag

Yes, we don't see any updates at the language level so I assume this crate will work with Prometheus 3.0. If you find anything incompatible please kindly let us know.

sunng87 avatar Oct 09 '25 03:10 sunng87