Feat: Binary Operators with Vector Matching
Completes two of the three tasks mentioned in the issue #1 (closed)
- Adds binary operator support for the Query builder API / typed queries (PROMQL Binary Operators)
- Binary operators include Vector matching
Tasks
-
Arithmetic operators -
Comparison operators -
Logical/set operators -
Extend support for chaining many logical operators
-
-
Integration tests (with local VM or Prometheus server) -
Vector matching modifiers -
One-to-one matching with on
andignoring
-
Group modifiers
-
-
Use generic data structures to reduce code repetition -
Documentation -
Document Public API -
Usage examples
-
Consider implementing some operators using Rust's operator overloading
Edited by Maaz Ahmed