Skip to content

Make reservoir configurable #83

@venikkin

Description

@venikkin

Reservoir used in internal meters (e.g. ThroughputMeter) is hardcoded to the default ExponentiallyDecayingReservoir. Although it's possible to provide MetricRegistry implementation working with any other reservoir, internal meters still will be using default one.
I suggest a PR #82 allowing specifying reservoir factory. Added only java way to set the factory so far.

Appreciate your feedback.
Thanks

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