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 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
Click to show internal directories.
Click to hide internal directories.