hermod-trace-resources-1.0.0

Synopsis

OS resource sampling for the Hermod tracing system

Description

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.

Author

Juergen Nicklisch-Franken

Maintainer

operations@iohk.io

License

Apache-2.0

Source
https://github.com/IntersectMBO/hermod-tracing
Commit hash
d322eb06fa2b351c0943ff2b80a94bf5ed954cd0
Subdir
hermod-trace-resources
Timestamp

2026-09-16T14:05:36Z

Revisions

None

Dependencies
library hermod-trace-resources:
  • ["base >=4.12 && <5","hermod-tracing-core","text","aeson >=2.1.0.0"]

if !os(windows)

  • unix

if os(windows)

  • Win32
test-suite bench:
  • ["base >=4.12 && <5","criterion","hermod-trace-resources"]