grmtools
promql-parser
grmtools | promql-parser | |
---|---|---|
2 | 2 | |
473 | 47 | |
2.1% | - | |
7.7 | 4.8 | |
13 days ago | 1 day ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
grmtools
- Grmtools – Grammar and Parsing Libraries for Rust
-
A Deep Dive into PromQL — Promql Parser v0.1.0 Written in Rust is Now Available
prometheus-parser-rs implement the parser via pest, while promql-parser using grmtools, which is compatible with Yacc. promql-parser declares compatible with prometheus and covers most of the test cases in original Prometheus, which ensures you better compliance.
promql-parser
-
What is prometheus promql parser?
As for promql-parser, this is written in Rust and is designed to be highly-compatible as Prometheus's PromQL Parser, it covers most (99%+) of the test cases from Prometheus parser module. PromQL is just a query language to retrieve data from Prometheus and Prometheus-compatible time-series database, and you can draw your dashboards using the data. Also, you can use SQL to do the same thing in order to draw panels using your data. You can visit Grafana datasources to see how Grafana manages different datasources.
-
A Deep Dive into PromQL — Promql Parser v0.1.0 Written in Rust is Now Available
All the code is now open sourced on GitHub, find it here.
What are some alternatives?
c-compiler - A compiler that accepts any valid program written in C. It is made using Lex and Yacc. Returns a symbol table, parse tree, annotated syntax tree and intermediate code.
grafonnet - Jsonnet library for generating Grafana dashboards.
prometheus-parser-rs - a Rust library for parsing and validating Prometheus query expressions
parsertl-playground - A web based playground for parsertl/lexertl
prometheus - The Prometheus monitoring system and time series database.
kalem.rs - Fegeya Kalem.rs, Rust implementation of Kalem, work-in-progress.
greptimedb - An open-source, cloud-native, distributed time-series database with PromQL/SQL/Python supported. Available on GreptimeCloud.
logos - Create ridiculously fast Lexers
nom - Rust parser combinator framework