metrics_statsd v1.0.2 Metrics
Wrapper module for the Erlang metrics
app.
Summary
Functions
Wrapper for :metrics.decrement/2
Wrapper for :metrics.decrement/3
Wrapper for :metrics.increment/2
Wrapper for :metrics.increment/3
Initialize the Metrics
module and set the reporting module to use;
defaults to MetricsStatsD
. This function must be called before using
any of the other functions of this module
Set the reporting module to use. Unlike init
, this function can
also be used to change the module after initialization
Wrapper for :metrics.update_histogram/3
Functions
Wrapper for :metrics.decrement/2
.
Wrapper for :metrics.decrement/3
.
Wrapper for :metrics.increment/2
.
Wrapper for :metrics.increment/3
.
Initialize the Metrics
module and set the reporting module to use;
defaults to MetricsStatsD
. This function must be called before using
any of the other functions of this module.
If init
was called before, the reporting module will NOT be re-set
or updated.
Returns :ok
.
Examples
iex> Metrics.init(:metrics_folsom)
:ok
Set the reporting module to use. Unlike init
, this function can
also be used to change the module after initialization.
Wrapper for :metrics.update_histogram/3
.