sys

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: Apache-2.0 Imports: 0 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(s SysSection)

Types

type MountIgnoreSection added in v1.4.0

type MountIgnoreSection struct {
	Prefix  []string `yaml:"prefix"`
	Exclude []string `yaml:"exclude"`
}

type SysSection

type SysSection struct {
	IfacePrefix      []string            `yaml:"ifacePrefix"`
	MountIgnore      MountIgnoreSection  `yaml:"mountIgnore"`
	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"`
}
var Config SysSection

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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