prometheus / promlens

PromLens – The query builder, analyzer, and explainer for PromQL
Apache License 2.0
581 stars 35 forks source link

Completely revamp vector-vector binop matching visualizer #124

Closed juliusv closed 1 year ago

juliusv commented 1 year ago

This completely reimplements the vector-to-vector binop visualizer in a (hopefully) prettier, cleaner, and more powerful way. Main highlights:

One-to-one matching example:

image

One-to-one matching with some missing matches:

image

Many-to-one matching:

image

No group_left() modifier for many-to-one matching error:

image

Using group_right() when group_left() would be needed:

image