exometer_zabbix v0.0.2 Exometer.Report behaviour
Behaviour module for exometer_report in Elixir
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
Types
callback_result :: {:ok, state} | :ignore
state :: term
Callbacks
Specs
exometer_init(opts :: term) :: callback_result
Invoked when exometer reporter is started
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_unsubscribe(:exometer_report.metric, :exometer_report.datapoint, :exometer_report.extra, state) :: callback_result
Invoked when reporter is being unsubscribed from a metric