Rheostat.Adapter.Statix (Rheostat v0.2.1) View Source

Provide a Statix adapter for Rheostat.

https://github.com/lexmag/statix

Link to this section Summary

Link to this section Functions

Callback implementation for Rheostat.Adapter.connect/1.

Link to this function

count(metadata, metric, num)

View Source

Callback implementation for Rheostat.Adapter.count/3.

Link to this function

decrement(key, val \\ 1, options \\ [])

View Source

Callback implementation for Rheostat.Adapter.decrement/3.

Link to this function

gauge(key, val, options \\ [])

View Source

Callback implementation for Rheostat.Adapter.gauge/3.

Link to this function

histogram(key, val, options \\ [])

View Source

Callback implementation for Rheostat.Adapter.histogram/3.

Link to this function

increment(key, val \\ 1, options \\ [])

View Source

Callback implementation for Rheostat.Adapter.increment/3.

Link to this function

measure(metadata, key, fun)

View Source

Callback implementation for Rheostat.Adapter.measure/3.

Link to this function

sample(metadata, metric, value)

View Source

Specs

sample(any(), binary() | maybe_improper_list(), any()) :: any()

Callback implementation for Rheostat.Adapter.sample/3.

Link to this function

set(key, val, options \\ [])

View Source

Callback implementation for Rheostat.Adapter.set/3.

Create StatsD tags from a map of metadata.

Returns a list of concatenated metadata: ["key1:value1", "key2:value2", ...]

Link to this function

timing(key, val, options \\ [])

View Source

Callback implementation for Rheostat.Adapter.timing/3.