Copyright © 2014-2016 Daniel Kempkens
Version: 0.8.2
Authors: Daniel Kempkens (daniel@kempkens.io).
katja_vmstats_collector directly, the recommended way is to use the functions defined
in this module instead.
collection() = [collection_attributes()]
collection_async_sample_rate() = {async_sample_rate, float()}
collection_attributes() = collection_name() | collection_metrics() | collection_interval() | collection_send_async() | collection_async_sample_rate()
collection_interval() = {interval, pos_integer()}
collection_metrics() = {metrics, [metric()]}
collection_name() = {name, atom()}
collection_send_async() = {send_async, boolean()}
metric() = atom() | {iolist(), atom(), [any()]} | {iolist(), module(), atom(), [any()]}
| collect/1 | Collects the specified metrics and sends them to Riemann. |
| get_collection/1 | Returns a list of all collections registered under the given Name. |
| start/0 | Starts the Katja VM Stats application and all of its dependencies. |
| start_collection/2 | Registers a new collection under the given Name. |
| stop/0 | Stops the Katja VM Stats application and all of its dependencies. |
| stop_collection/1 | Stops all collections registered under the given Name. |
Collects the specified metrics and sends them to Riemann. Delegates to katja_vmstats_collector:collect/1.
get_collection(Name::atom()) -> [katja_vmstats:collection()]
Returns a list of all collections registered under the given Name. Delegates to katja_vmstats_collector:get_collection/1.
start() -> ok
Starts the Katja VM Stats application and all of its dependencies. This is really only meant for usage inside the console.
start_collection(Name::atom(), MetricsIntervals::katja_vmstats:collection() | [katja_vmstats:collection()]) -> ok
Registers a new collection under the given Name. Delegates to katja_vmstats_collector:start_collection/2.
stop() -> ok
Stops the Katja VM Stats application and all of its dependencies. This is really only meant for usage inside the console.
stop_collection(Name::atom()) -> ok
Stops all collections registered under the given Name. Delegates to katja_vmstats_collector:stop_collection/1.
Generated by EDoc