feat(system-metrics): update metrics to gather more information
This commit is contained in:
parent
a8eb0ad726
commit
6c098ed61c
3 changed files with 96 additions and 11 deletions
|
|
@ -49,8 +49,10 @@ type SystemMetrics struct {
|
|||
CollectMemory bool `mapstructure:"collect_memory"`
|
||||
CollectDisk bool `mapstructure:"collect_disk"`
|
||||
CollectNetwork bool `mapstructure:"collect_network"`
|
||||
CollectProcesses bool `mapstructure:"collect_processes"`
|
||||
DiskPaths []string `mapstructure:"disk_paths"`
|
||||
NetworkInterfaces []string `mapstructure:"network_interfaces"`
|
||||
TopProcessesLimit int `mapstructure:"top_processes_limit"`
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue