# Packages
No description provided by the author
# Functions
CollectDelayInfo returns DelayInfo for a pid and an error, if any.
CollectProcInfo returns a ProcInfo and error (if any) for a given PID.
MultiCollector coalesces a variadic number of Collectors and returns a single Collector.
NewDelayMetrics collects metrics on the current process and reports them to the default stats engine.
NewDelayMetricsWith collects metrics on the process identified by pid and reports them to eng.
NewGoMetrics creates a new collector for the Go runtime that produces metrics on the default stats engine.
NewGoMetricsWith creates a new collector for the Go unrtime that producers metrics on eng.
NewProcMetrics collects metrics on the current process and reports them to the default stats engine.
NewProcMetricsWith collects metrics on the process identified by pid and reports them to eng.
StartCollector starts a Collector with a default Config.
StartCollectorWith starts a Collector with the provided Config.
# Structs
Config contains a Collector and a time.Duration called CollectInterval.
CPUInfo holds statistics and configuration details for a process.
DelayInfo stores delay Durations for various resources.
DelayMetrics is a metric collector that reports resource delays on processes.
FileInfo holds statistics about open and max file handles for a process.
GoMetrics is a metric collector that reports metrics from the Go runtime.
MemoryInfo holds statistics and configuration about Memory usage for a process.
No description provided by the author
ProcInfo contains types which hold statistics for various resources.
ProcMetrics is a metric collector that reports metrics on processes.
ThreadInfo holds statistics about number of threads and context switches for a process.
# Interfaces
Collector is an interface that wraps the Collect() method.
# Type aliases
CollectorFunc is a type alias for func().