Copyright © 2013-2015 Zuse Institute Berlin
Version: $Id$
Behaviours: gen_component.
Authors: Ufuk Celebi (celebi@zib.de).
Server for collecting autoscale plot data from autoscale leader(s).
{autoscale_server, true} in the config will enable this service. The autoscale processes from which data is collected assume that this server runs in the same VM as mgmt_server (needs to be set in config).
{autoscale_server_plot_path, PATH} needs to be set in order to write the collected data to the file system (see on({write_to_file})).message() = {collect, PlotKey :: atom(), Timestamp :: pos_integer(), Value :: number()} | {reset} | {write_to_file}
state() = {PlotData :: dict:dict(PlotKey :: atom(), {Timestamp :: pos_integer(), Value :: number()})} | unknown_event
check_config/0 | Checks whether config parameters for autoscale_server exist and are valid. |
init/1 | |
log/1 | |
log/2 | |
on/2 | |
start_gen_component/5 | |
start_link/1 |
start_gen_component(Module :: module(), Handler :: gen_component:handler(), Args :: term(), Options :: [gen_component:option()], Self :: pid()) -> no_return() | ok
start_link(ServiceGroup :: pid_groups:groupname()) -> {ok, pid()}
init(Options :: null) -> state()
log(Key :: atom(), Value :: term()) -> ok
log(KeyValueList :: [{Key :: atom(), Value :: term()}]) -> ok
check_config() -> boolean()
Checks whether config parameters for autoscale_server exist and are valid.
Generated by EDoc, Aug 2 2016, 13:42:59.