grafana / lezer-logql

LogQL lezer grammar
Apache License 2.0
3 stars 4 forks source link

Feature Request: `Shardable()` Support #64

Open trevorwhitney opened 18 hours ago

trevorwhitney commented 18 hours ago

Loki has a concept of the "sharability" of a query, and it's complicated. This feature request is to replicate some of that logic in lezer, so the the frontend can determine if a query is shardable. The goal of this is to move some of the metric sharding logic we have in Explore Logs to Explore behind the experimental "Scan" log direction.

trevorwhitney commented 18 hours ago

I have this on my TODO list if no one beats me to it 😄