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".
A default formatter
Elixometer.Utilsis called instead of a configured one:elixometer/lib/elixometer.ex
Line 292 in c4a886b
To fix,
Elixometer.Utilsshould either expose the configured formatter, or implementclear_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".