service

package
v0.0.0-...-af869ec Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCollector

func NewCollector(logg sysmon.Logger, collection Collection, f sysmon.Collectors) sysmon.Collector

NewCollector конструктор.

Types

type Collection

type Collection struct {
	LoadAverageEnabled bool // LoadAverageEnabled - включение метрики 'load average'.
	CPUEnabled         bool // CPUEnabled - включение метрики 'cpu average'.
	BufSize            int  // BufSize - глубина истории собираемых метрик.
}

Collection структура конфигурации.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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