Versions in this module Expand all Collapse all v0 v0.1.3 May 5, 2026 v0.1.1 Apr 26, 2026 v0.1.0 Feb 19, 2026 Changes in this version + const Category + const CommandProcessSignal + type Collector struct + func NewCollector() *Collector + func (p *Collector) Collect() (*Metrics, error) + type CollectorSpec struct + Category string + Interval string + type Controller struct + func NewController() *Controller + func (c *Controller) Signal(pid int, sig int) error + type ControllerSpec struct + Type string + type Info struct + CPUPercent float64 + Command string + MemoryBytes uint64 + PID int + PPID int + SampledAtNano int64 + State string + User string + type Metrics struct + Processes []Info + type Module struct + func New(intervals config.ReportConfig) *Module + func (m *Module) CollectorEntries() []modules.CollectorEntry + func (m *Module) ControllerEntries() []modules.ControllerEntry + func (m *Module) Name() string + func (m *Module) Registration() any + type Registration struct + Collectors []CollectorSpec + Controllers []ControllerSpec + type SignalCommand struct + PID int + Signal int