package
Version:
v0.0.0-...-982fff5
Opens a new window with list of versions in this module.
Published: Feb 25, 2022
License: AFL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CpuConfs struct {
Run bool `json:"run"`
ReportInterval int64 `json:"report_interval"`
}
cpu_rate配置接收结构体
type CpuMemConfs struct {
Run bool `json:"run"`
SamplingInterval int64 `json:"sampling_interval"`
ReportInterval int64 `json:"report_interval"`
CpuPercentThreshold float64 `json:"cpu_percent_threshold"`
MemPercentThreshold float64 `json:"mem_percent_threshold"`
}
cpu_mem配置接收结构体
type DiskConfs struct {
Run bool `json:"run"`
ReportInterval int64 `json:"report_interval"`
}
disk_used配置接收结构体
type MemConfs struct {
Run bool `json:"run"`
SamplingInterval int64 `json:"sampling_interval"`
ReportInterval int64 `json:"report_interval"`
}
memory_used配置接收结构体
Source Files
¶
Click to show internal directories.
Click to hide internal directories.