From 440c6a3f7e60e1146a510144b2729bd99a2af3eb Mon Sep 17 00:00:00 2001 From: Jake Gealer Date: Tue, 14 Mar 2023 20:05:21 +0000 Subject: [PATCH] add container metric bytes --- types/ignite.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/ignite.go b/types/ignite.go index 55ac848..e7ed5f8 100644 --- a/types/ignite.go +++ b/types/ignite.go @@ -840,6 +840,9 @@ type ContainerMetrics struct { // MemoryUsagePercent is used to define the % usage of the RAM. MemoryUsagePercent float64 `json:"memory_usage_percent"` + + // MemoryUsageBytes is the number of bytes of memory currently being used. + MemoryUsageBytes uint32 `json:"memory_usage_bytes"` } // Container is used to define a container in Ignite.