Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: average alias in consolidateBy function #280

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

Tetrergeru
Copy link
Collaborator

Graphite standard supports both average and avg.
Curent implementation supports only avg, because clickhouse supports only avg.
Added condition to replace average with avg in GetRequestedAggregation function.

It is the only aggregation that has two aliases.

https://graphite.readthedocs.io/en/latest/functions.html#graphite.render.functions.consolidateBy

@msaf1980 msaf1980 merged commit 64e702d into go-graphite:master Jun 4, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants