Skip to content

Aggregation only works for integer values #110

@sammy007

Description

@sammy007

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) ->

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions