This crate allows one to parse PromQL query into some AST.
See official documentation for query syntax description, or crate documentation to dive right into code.
PromQL parser for Rust
Home Page: https://docs.rs/promql/
License: Apache License 2.0
This crate allows one to parse PromQL query into some AST.
See official documentation for query syntax description, or crate documentation to dive right into code.
Hello,
I find your project so great because I haven't seen any promql
parser implementations other than golang.
Is this project production ready? Is it fully compatible with prometheus' promql
?
Thanks a lot!
Grouping modifiers can only be used for comparison and arithmetic. Operations as
and
,unless
andor
operations match with all possible entries in the right vector by default.
Appreciate this might well be out of the scope of what you want to do with this library, but it would be useful to me if there was an option to support metrics that contain periods (.) as various non-prometheus time series databases commonly use these in metric names. Obviously this is not stictly valid promQL but if there was an option for it it could make this library useful for other TSDB querying.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.