Instruments.Sysmon.Emitter (Instruments v2.12.0)

Copy Markdown

The Emitter is a simple module that subscribes to the Reporter and will invoke the corresponding handler on the Receiver.

Summary

Functions

Returns a specification to start this module under a supervisor.

Sets the receiver module to handle system monitor events. Receiver modules must implement the Instruments.Sysmon.Receiver behaviour.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

set_receiver(receiver_module)

@spec set_receiver(term()) :: :ok

Sets the receiver module to handle system monitor events. Receiver modules must implement the Instruments.Sysmon.Receiver behaviour.

start_link(opts \\ [])