Add pids stats
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
21ec630979
commit
ab5eae56bf
3 changed files with 170 additions and 117 deletions
|
@ -162,6 +162,9 @@ func convertToPb(st *runtime.Stat) *types.StatsResponse {
|
|||
Failcnt: st.Failcnt,
|
||||
}
|
||||
}
|
||||
pbSt.CgroupStats.PidsStats = &types.PidsStats{
|
||||
Current: lcSt.CgroupStats.PidsStats.Current,
|
||||
}
|
||||
return pbSt
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue