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

Allow passing through arbitrary aggregations #40

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ptamilarasan
Copy link

Currently the implementation in the library is very limited when trying to use aggregations as it can only be used to reduce the results to a single value, such as averaging/summing all datapoints.

With this change its possible to specify more advanced aggregations supported by the Timeseries API for example a daily average [{ type: 'avg', interval: '1d' }]

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.

1 participant