Exometer.Report behaviour (exometer_zabbix v1.0.1) View Source
Behaviour module for exometer_report in Elixir
Link to this section Summary
Callbacks
Invoked when exometer reporter is started
Invoked when a metric is being reported as part of a subscription
Invoked when reporter is being subscribed to a metric
Invoked when reporter is being unsubscribed from a metric
Link to this section Types
Link to this section Callbacks
Specs
exometer_call( msg :: term(), pid(), state() ) :: callback_result()
Specs
exometer_cast( msg :: term(), state() ) :: callback_result()
Specs
exometer_info( msg :: term(), state() ) :: callback_result()
Specs
exometer_init(opts :: term()) :: callback_result()
Invoked when exometer reporter is started
Specs
exometer_newentry( :exometer.entry(), state() ) :: callback_result()
Specs
exometer_report( :exometer_report.metric(), :exometer_report.datapoint(), :exometer_report.extra(), value :: term(), state() ) :: callback_result()
Invoked when a metric is being reported as part of a subscription
Specs
exometer_setopts( :exometer_report.metric(), opts :: term() ) :: callback_result()
Specs
exometer_subscribe( :exometer_report.metric(), :exometer_report.datapoint(), :exometer_report.interval(), :exometer_report.extra(), state() ) :: callback_result()
Invoked when reporter is being subscribed to a metric
Specs
exometer_terminate( opts :: term(), state() ) :: callback_result()
Specs
exometer_unsubscribe( :exometer_report.metric(), :exometer_report.datapoint(), :exometer_report.extra(), state() ) :: callback_result()
Invoked when reporter is being unsubscribed from a metric