Skip to content

Commit

Permalink
Additional logging of stats values
Browse files Browse the repository at this point in the history
  • Loading branch information
jellonek committed Sep 14, 2018
1 parent 22eedcb commit 7bd8bf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/libvirttools/virtualization.go
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,8 @@ func (v *VirtualizationTool) VMStats(containerID string, name string) (*types.VM
}
vs.FsBytes = rootDiskSize

glog.V(4).Infof("VMStats - cpu: %d, mem: %d, disk: %d, timestamp: %d", vs.CpuUsage, vs.MemoryUsage, vs.FsBytes, vs.Timestamp)

return &vs, nil
}

Expand Down

0 comments on commit 7bd8bf4

Please sign in to comment.