monitoring

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryUpdater

type MemoryUpdater struct {
	// contains filtered or unexported fields
}

func NewMemoryUpdater

func NewMemoryUpdater() *MemoryUpdater

func (*MemoryUpdater) LogJson

func (mu *MemoryUpdater) LogJson()

Status - returns a string description of the current status

func (*MemoryUpdater) Status

func (mu *MemoryUpdater) Status() string

Status - returns a string description of the current status

func (*MemoryUpdater) Update

func (mu *MemoryUpdater) Update()

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

func NewMonitor

func NewMonitor(updateRate time.Duration, printRate time.Duration, updater recorder, termChannel chan struct{}) *Monitor

func (*Monitor) Start

func (m *Monitor) Start()

type Tracker

type Tracker struct {
	// contains filtered or unexported fields
}

func NewTracker

func NewTracker() *Tracker

func (*Tracker) Avg

func (t *Tracker) Avg() float64

func (*Tracker) IsEmpty

func (t *Tracker) IsEmpty() bool

func (*Tracker) Max

func (t *Tracker) Max() uint64

func (*Tracker) Min

func (t *Tracker) Min() uint64

func (*Tracker) Track

func (t *Tracker) Track(value uint64)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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