Skip to content

Commit f44ff83

Browse files
authored
Merge pull request #439 from metskem/main
add ProcessStat fields cpu_entitlement and log_rate
2 parents c4d2226 + 091d7ba commit f44ff83

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

resource/process.go

+6-4
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,12 @@ type ProcessRelationships struct {
123123
}
124124

125125
type Usage struct {
126-
Time time.Time `json:"time"`
127-
CPU float64 `json:"cpu"`
128-
Memory int `json:"mem"`
129-
Disk int `json:"disk"`
126+
Time time.Time `json:"time"`
127+
CPU float64 `json:"cpu"`
128+
CPUEntitlement float64 `json:"cpu_entitlement"`
129+
Memory int `json:"mem"`
130+
Disk int `json:"disk"`
131+
LogRate int `json:"log_rate"`
130132
}
131133

132134
func NewProcessScale() *ProcessScale {

0 commit comments

Comments
 (0)