Skip to content

Elixometer.clear_counter/1 is supposed to use configured Formatter #117

@pmenhart

Description

@pmenhart

A default formatter Elixometer.Utils is called instead of a configured one:

clear_counter(format(:counters, metric_name))

To fix, Elixometer.Utils should either expose the configured formatter, or implement clear_counter/1.
Exposing formatter is preferable, because there are often situations where an application may need to translate metric names between "Elixometer view" and "exometer view".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions