go-graphite / graphite-clickhouse

Graphite cluster backend with ClickHouse support
MIT License
213 stars 52 forks source link

feat(query): substitute aggregation if request contains consolidateBy #273

Closed mchrome closed 6 months ago

mchrome commented 6 months ago

Substitute aggregation to the argument of consolidateBy if it was passed through FilteringFunctions field inside the request. Currently it just finds the first target matching the metric to avoid making multiple request for every type of aggregation for a given metric.