sys

package
v4.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(s SysSection)

Types

type MountSection added in v4.0.2

type MountSection struct {
	TypePrefix   string   `yaml:"typePrefix"`
	IgnorePrefix []string `yaml:"ignorePrefix"`
	Exclude      []string `yaml:"exclude"`
}

type SysSection

type SysSection struct {
	Enable           bool                `yaml:"enable"`
	IfacePrefix      []string            `yaml:"ifacePrefix"`
	MountCollect     MountSection        `yaml:"mountCollect"`
	IgnoreMetrics    []string            `yaml:"ignoreMetrics"`
	IgnoreMetricsMap map[string]struct{} `yaml:"-"`
	NtpServers       []string            `yaml:"ntpServers"`
	Plugin           string              `yaml:"plugin"`
	PluginRemote     bool                `yaml:"pluginRemote"`
	Interval         int                 `yaml:"interval"`
	Timeout          int                 `yaml:"timeout"`
	FsRWEnable       bool                `yaml:"fsRWEnable"`
}
var Config SysSection

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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