Beamlens.Skill.Os (beamlens v0.3.1)

View Source

OS-level system metrics skill.

Provides callback functions for collecting CPU, memory, and disk metrics from the operating system via Erlang's os_mon application.

Requirements

This skill requires os_mon to be started. Add it to your application's extra_applications in mix.exs:

def application do
  [extra_applications: [:logger, :os_mon]]
end

Platform Notes

  • cpu_sup metrics are only available on Unix systems
  • memsup and disksup work on Unix and Windows

All functions are read-only with zero side effects.