metrics: A generic interface to different metrics systems in Erlang.
Copyright (c) 2016 Benoît Chesneau.
Version: 1.0.0
metrics
A generic interface to folsom or exometer or any compliant interface. This application have been extracted from hackney.
Currently support Folsom and Exometer
Example:
%% initialize an engine
Engine = metrics:init(metrics_exometer),
%% create a counter named TestCounter
ok = metrics:new(Engine, counter, TestCounter),
%% Increment the counter
metrics:increment_counter(Engine, TestCounter).
Documentation
Full doc is available in the metrics
module.
Build
$ rebar3 compile
Modules
metrics |
metrics_dummy |
metrics_exometer |
metrics_folsom |