filodb / FiloDB

Distributed Prometheus time series database
Apache License 2.0
1.43k stars 225 forks source link

feat(query): Support multiple aggregation rules for HierarchicalQueryExperience logicalPlan update #1869

Closed sandeep6189 closed 3 days ago

sandeep6189 commented 1 week ago

Pull Request checklist

Current behavior : (link exiting issues here : LogicalPlan updates for hierarchical query experience expects metrics using the same aggregation suffix.

New behavior : Adding support for specifying multiple aggregation suffixes and rules and the logical plan update will appropriately pick up the suffix to be used.

Example query for which the hierarchical logical plan updated will be now supported:

sum(metric1:::suffix1{}) + sum(metric2:::suffix2{})