{"repo":"GreptimeTeam/promql-parser","free":true,"listed":false,"github":"https://github.com/GreptimeTeam/promql-parser","clone":"git clone https://github.com/GreptimeTeam/promql-parser.git","description":"PromQL Rust parser","language":"Rust","stars":103,"topics":["parser","prometheus","promql"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"PromQL Lexer and Parser The goal of this project is to build a PromQL lexer and parser capable of parsing PromQL that conforms with [Prometheus Query][querying-prometheus]. Example To parse a simple instant vector selector expression: or you can directly run examples under this repo: This outputs: PromQL compliance This crate declares compatible with [prometheus v3.8][prom-v3.8], which is released at 2025-11-28. Any revision on PromQL after this commit is not guaranteed. Community Extensions There are a number of community projects that extend promql-parser or provide integrations with other systems. Language Bindings - py-promql-parser Python. - lua-promql-parser Lua. Known Uses Here are some of the projects known to use promql-parser: - GreptimeDB Open Source & Cloud Native Distributed Time Series Database - OpenObserve High performance, petabyte scale Elasticsearch/Splunk/Datadog alternative for (logs, metrics, traces, RUM, Error tracking, Session replay) If your project is using promql-parser, feel free to make a PR to add it to this list. Contributing Contributions are highly encouraged! Pull requests that add support for or fix a bug in a feature in the PromQL will likely be accepted after review. Licensing All code in this repository is licensed under the Apache License 2.0. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any addit","default_branch":null,"files":null,"tree":[],"storefront":"/r/GreptimeTeam","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GreptimeTeam/promql-parser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}