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

feat(functions): add a config option to pass consolidateBy to the storage backend #830

Merged
merged 4 commits into from
Apr 25, 2024

Conversation

mchrome
Copy link
Collaborator

@mchrome mchrome commented Apr 11, 2024

This PR is mostly a copy of #793.
Passes consolidateBy with its argument to the backend through the FilteringFunctions field. Only works with carbonapi_v3_pb protocol.
Fixes broken tests and removes passing ConsolidationFunc field further after parsing the target in Fetch. This is needed since this field is empty during evaluation and "values" map will not return anything.
In addition I added an option to the config to enable this behavior.

@Civil Civil merged commit 38ac020 into go-graphite:main Apr 25, 2024
5 of 6 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.

4 participants