Sauron
There he took up again his great Ring in Barad-dur, and dwelt there, dark and silent, until he wrought himself a new guise, an image of malice and hatred made visible; and the Eye of Sauron the Terrible few could endure.
-- Silmarillion - J. R. R. Tolkien
Process that translates Erlang system monitoring messages to Telemetry events that can be then ingested by different components.
Disclaimer
There can be only one process that is monitoring system at given time, this
application uses telemetry to allow multiple different systems and components
to watch for such system events.
Overload protection
Currently there is no overload protection, so users must be cautious to the fact that processing events should be fast. If there is need for longer processing then it would be best to offload it to separate process.
Events
All events are discoverable via telemetry_registry but the currently supported
list is:
erlang.sys_mon.long_gc:- measurements:
timeoutheap_sizeheap_block_sizestack_sizembuf_sizeold_heap_sizeold_heap_block_size
- metadata:
pid
- measurements:
erlang.sys_mon.large_heap:- measurements:
heap_sizeheap_block_sizestack_sizembuf_sizeold_heap_sizeold_heap_block_size
- metadata:
pid
- measurements:
erlang.sys_mon.long_schedule.process:- measurements:
timeout
- metadata:
pidinout
- measurements:
erlang.sys_mon.long_schedule.port:- measurements:
timeout
- metadata:
portoperation
- measurements:
erlang.sys_mon.long_message_queue:- measurements:
count
- metadata:
pid
- measurements:
erlang.sys_mon.busy_port:- measurement:
count
- metadata:
suspended_pidport
- measurement:
erlang.sys_mon.busy_dist_port:- measurement:
count
- metadata:
suspended_pidport
- measurement:
For details of these values check out erlang:system_monitor/2 documentation in OTP.
License
Apache-2.0