mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-31 03:16:25 +08:00
add chart display config
This commit is contained in:
@@ -16,8 +16,8 @@ type ProcessInfo struct {
|
||||
}
|
||||
|
||||
type Usage struct {
|
||||
CpuCapacity float64 `json:"cpuCapacity"`
|
||||
MemCapacity float64 `json:"memCapacity"`
|
||||
CpuCapacity float64 `json:"cpuCapacity,omitempty"`
|
||||
MemCapacity float64 `json:"memCapacity,omitempty"`
|
||||
Cpu []float64 `json:"cpu"`
|
||||
Mem []float64 `json:"mem"`
|
||||
Time []string `json:"time"`
|
||||
|
||||
Reference in New Issue
Block a user