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(query): substitute aggregation if request contains consolidateBy #273

Merged

Conversation

mchrome
Copy link
Collaborator

@mchrome mchrome commented Apr 11, 2024

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.

render/data/query.go Outdated Show resolved Hide resolved
render/data/targets.go Outdated Show resolved Hide resolved
render/data/query.go Outdated Show resolved Hide resolved
render/data/targets.go Outdated Show resolved Hide resolved
render/data/targets.go Outdated Show resolved Hide resolved
@msaf1980 msaf1980 merged commit 9ce7d6e into go-graphite:master Apr 26, 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.

3 participants