OS resource sampling for the Hermod tracing system
Provides a single IO action, 'readResourceStats', that samples the calling process's resource usage (CPU, GC, memory, I/O, threads) and returns it as a 'LogFormatting' / 'MetaTrace' value ready to feed into the hermod-tracing pipeline. Supports Linux, macOS, and Windows; falls back to GHC RTS metrics only on other platforms.
Juergen Nicklisch-Franken
operations@iohk.io
Apache-2.0
2026-09-16T14:05:36Z
None
if !os(windows)
if os(windows)