Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigSettings ¶
type ConfigSettings struct {
Topbeat TopConfig `config:"topbeat"`
}
type StatsEnableConfig ¶
type StatsEnableConfig struct {
System bool `config:"system"`
Proc bool `config:"process"`
Filesystem bool `config:"filesystem"`
Core bool `config:"core"`
CPUTicks bool `config:"cpu_ticks"`
}
func (*StatsEnableConfig) Validate ¶
func (c *StatsEnableConfig) Validate() error
type TopConfig ¶
type TopConfig struct {
Period time.Duration `config:"period" validate:"min=1ms"`
Procs []string `config:"procs"`
Stats StatsEnableConfig `config:"stats"`
}
type Topbeat ¶
type Topbeat struct {
TbConfig ConfigSettings
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.