Skip to content

Commit

Permalink
Upgrade Container metric
Browse files Browse the repository at this point in the history
Added the following files to ContainerMetric

* absoluteCPUUsage
* absoluteCPUEntitlement
* absoluteCPUEntitlement
  • Loading branch information
antechrestos committed Mar 18, 2020
1 parent ce0e609 commit 9462262
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions events/metric.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}

0 comments on commit 9462262

Please sign in to comment.