Instruments.Sysmon.Receiver behaviour (Instruments v2.12.0)

Copy Markdown

The Receiver behavior defines callbacks that are invoked by the Emitter in response to system monitor events.

Summary

Types

info()

@type info() :: List.t({term(), term()})

Callbacks

handle_busy_dist_port(pid, port)

@callback handle_busy_dist_port(pid(), port()) :: :ok

handle_busy_port(pid, port)

@callback handle_busy_port(pid(), port()) :: :ok

handle_large_heap(pid, info)

@callback handle_large_heap(pid(), info()) :: :ok

handle_long_gc(pid, info)

@callback handle_long_gc(pid(), info()) :: :ok

handle_long_message_queue(pid, boolean)

@callback handle_long_message_queue(pid(), boolean()) :: :ok

handle_long_schedule(pid, info)

@callback handle_long_schedule(pid(), info()) :: :ok