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

Aggregation only works for integer values #110

Open
sammy007 opened this issue Feb 19, 2018 · 1 comment
Open

Aggregation only works for integer values #110

sammy007 opened this issue Feb 19, 2018 · 1 comment

Comments

@sammy007
Copy link

I have implemented my own probe which is inherited from spiral and divides value by time_span hence returned value is float, I configured an aggregation and see no values computed.
After some research I found that there is a check for is_integer in aggr_acc([{D,V}|T], Acc) function. After I changed it to is_number it works. Do you think it worth fixing?

if is_integer(V) ->

@tolbrino
Copy link
Contributor

tolbrino commented Apr 9, 2018

I think that should be an option. Feel free to submit the PR.

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

No branches or pull requests

2 participants