tesla_statsd v0.1.0 Tesla.StatsD.Backend behaviour

A behaviour for StatsD backend.

ExStatsD is supported out of box.

Link to this section Summary

Callbacks

Record a gauge entry

Record a histogram value

Link to this section Types

Link to this type amount()
amount() :: integer() | float()
Link to this type metric()
metric() :: String.t()
Link to this type options()
options() :: Keyword.t()

Link to this section Callbacks

Link to this callback gauge(amount, metric, options)
gauge(amount(), metric(), options()) :: any()

Record a gauge entry

Link to this callback histogram(amount, metric, options)
histogram(amount(), metric(), options()) :: any()

Record a histogram value