remove print_configs of plugin
This commit is contained in:
parent
1b15230498
commit
1fe0e0aece
|
@ -17,7 +17,6 @@ type CPUStats struct {
|
|||
ps system.PS
|
||||
lastStats map[string]cpuUtil.TimesStat
|
||||
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
CollectPerCPU bool `toml:"collect_per_cpu"`
|
||||
}
|
||||
|
|
|
@ -15,10 +15,9 @@ const inputName = "disk"
|
|||
type DiskStats struct {
|
||||
ps system.PS
|
||||
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
MountPoints []string `toml:"mount_points"`
|
||||
IgnoreFS []string `toml:"ignore_fs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
MountPoints []string `toml:"mount_points"`
|
||||
IgnoreFS []string `toml:"ignore_fs"`
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -16,7 +16,6 @@ const inputName = "diskio"
|
|||
type DiskIO struct {
|
||||
ps system.PS
|
||||
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
Devices []string `toml:"devices"`
|
||||
deviceFilter filter.Filter
|
||||
|
|
|
@ -35,10 +35,9 @@ type ExecInstance struct {
|
|||
}
|
||||
|
||||
type Exec struct {
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
Instances []ExecInstance `toml:"instances"`
|
||||
Counter uint64
|
||||
Interval config.Duration `toml:"interval"`
|
||||
Instances []ExecInstance `toml:"instances"`
|
||||
Counter uint64
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -20,8 +20,7 @@ import (
|
|||
const inputName = "linuxsysctlfs"
|
||||
|
||||
type SysctlFS struct {
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
|
||||
path string
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@ type MemStats struct {
|
|||
ps system.PS
|
||||
platform string
|
||||
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
CollectPlatformFields bool `toml:"collect_platform_fields"`
|
||||
}
|
||||
|
|
|
@ -17,7 +17,6 @@ const inputName = "net"
|
|||
type NetIOStats struct {
|
||||
ps system.PS
|
||||
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
CollectProtocolStats bool `toml:"collect_protocol_stats"`
|
||||
Interfaces []string `toml:"interfaces"`
|
||||
|
|
|
@ -15,8 +15,7 @@ const inputName = "netstat"
|
|||
type NetStats struct {
|
||||
ps system.PS
|
||||
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -44,10 +44,9 @@ type MetricConfig struct {
|
|||
}
|
||||
|
||||
type Oracle struct {
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
Instances []OrclInstance `toml:"instances"`
|
||||
Metrics []MetricConfig `toml:"metrics"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
Instances []OrclInstance `toml:"instances"`
|
||||
Metrics []MetricConfig `toml:"metrics"`
|
||||
|
||||
dbconnpool map[string]*sqlx.DB // key: instance
|
||||
Counter uint64
|
||||
|
|
|
@ -23,10 +23,9 @@ import (
|
|||
const inputName = "processes"
|
||||
|
||||
type Processes struct {
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
ForcePS bool `toml:"force_ps"`
|
||||
ForceProc bool `toml:"force_proc"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
ForcePS bool `toml:"force_ps"`
|
||||
ForceProc bool `toml:"force_proc"`
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -16,7 +16,6 @@ import (
|
|||
const inputName = "system"
|
||||
|
||||
type SystemStats struct {
|
||||
PrintConfigs bool `toml:"print_configs"`
|
||||
Interval config.Duration `toml:"interval"`
|
||||
CollectUserNumber bool `toml:"collect_user_number"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue