Documentation ¶
Overview ¶
Package entropystat implements metrics collection for system entropy
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntropyStat ¶
EntropyStat represents available entropy on the system
func New ¶
func New(m *metrics.MetricContext, Step time.Duration) *EntropyStat
New starts metrics collection every Step and registers with metricscontext
func (*EntropyStat) Collect ¶
func (stat *EntropyStat) Collect()
Collect populates Entropystat from /proc/sys/kernel/random/entropy_avail
Click to show internal directories.
Click to hide internal directories.