Versions in this module Expand all Collapse all v1 v1.0.1 Feb 8, 2024 v1.0.0 Feb 8, 2024 Changes in this version + func Init(opts ...Option) + type AlarmOption func(*alarmOptions) + func WithCPUThreshold(threshold float64) AlarmOption + func WithMemoryThreshold(threshold float64) AlarmOption + type Option func(*options) + func WithAlarm(opts ...AlarmOption) Option + func WithLog(l *zap.Logger) Option + func WithPrintInterval(d time.Duration) Option