From 7465cc2fd2541882b362329c12fcf3903775944e Mon Sep 17 00:00:00 2001 From: Benjamin Einaudi Date: Wed, 18 Mar 2020 18:42:43 +0100 Subject: [PATCH] Upgrade Container metric Added the following attributes to ContainerMetric * absoluteCPUUsage * absoluteCPUEntitlement * absoluteCPUEntitlement --- events/metric.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/events/metric.proto b/events/metric.proto index 006344d..2df29c6 100644 --- a/events/metric.proto +++ b/events/metric.proto @@ -29,4 +29,7 @@ message CounterEvent { required uint64 diskBytes = 5; /// Bytes of disk used. optional uint64 memoryBytesQuota = 6; /// Maximum bytes of memory allocated to container. optional uint64 diskBytesQuota = 7; /// Maximum bytes of disk allocated to container. + optional uint64 absoluteCPUUsage = 8; /// CPU time used by AI. + optional uint64 absoluteCPUEntitlement = 9; /// CPU time that the AI was entitled to use. + optional uint64 age = 10; /// Age of container, in nanoseconds. }