Artyom Antonov

Results 4 issues of Artyom Antonov

This PR intends to fix two unintended (i believe) behaviors and adds two feature flags which affect what metrics are returned after filtering with seriesByTag. ## Changes that work without...

Using sortByMaxima with a series that only has NaN values causes it to end up at the top of the series list which is different from graphite-web. In graphite-web when...

Add validation for consolidateBy arguments when `passFunctionsToBackend: true`. [Valid aggregation functions.](https://graphite.readthedocs.io/en/stable/functions.html#graphite.render.functions.consolidateBy)

If an incorrect regex is sent to clickhouse, graphite-clickhouse will return `500: Storage error` which is not very informative. This PR adds validation before that can happen to avoid making...