entropystat

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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

type EntropyStat struct {
	Available *metrics.Gauge
	// contains filtered or unexported fields
}

EntropyStat represents available entropy on the system

func New

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL