Bounded, pure-data policy for ERTS system-event collection.
Legacy node-global monitoring is an explicit compatibility selection. Trusted
environment, target, and runtime-feature facts come from Insider.Policy.Context
at collector startup, never from this caller-created event policy.
Summary
Types
@type event_option() :: {:long_gc, pos_integer()} | {:long_message_queue, {non_neg_integer(), pos_integer()}} | {:long_schedule, pos_integer()} | {:large_heap, pos_integer()} | {:busy_port, true} | {:busy_dist_port, true}
@type t() :: %Insider.Collector.SystemMonitor.Policy{ events: [event_option()], legacy_node_global: boolean() }