Skip to content

EWMA vs mean unit of measure inconsistency in meters #74

@vladaionescu

Description

@vladaionescu

Meters can be used for a number of things, but consider this example:
We want to measure the number of events per second, where an event is folsom_metrics:notify(Name, 1).

So we do folsom_metrics:get_metric_value(Name). What we get in response is

[{count,...}, {one, ...}, {five, ...}, {fifteen, ...}, {day, ...}, {mean, ...}, {acceleration, ...}]

where one, five, fifteen and day are measured in events per second, but mean is measured in events per _micro_ second. Furthermore, acceleration is measured in events per second squared.

I believe it would be more consistent if mean were measured in events per second as well.

Suggested fix: divide this value by 1000000. May need to do something similar for meter reader as well.

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