Skip to content

Commit

Permalink
added units to StatusRunning and StatusContainerTerminatedReasonOOMKi…
Browse files Browse the repository at this point in the history
…lled metrics
  • Loading branch information
nathalapooja committed Oct 27, 2023
1 parent 10cc00e commit 3024bf3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions internal/aws/containerinsight/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,14 @@ func init() {
StatusContainerWaitingReasonStartError: UnitCount,
StatusContainerWaitingReasonCreateContainerConfigError: UnitCount,
StatusContainerWaitingReasonCreateContainerError: UnitCount,
StatusFailed: UnitCount,
StatusPending: UnitCount,
StatusSucceeded: UnitCount,
StatusUnknown: UnitCount,
StatusReady: UnitCount,
StatusScheduled: UnitCount,
StatusContainerTerminatedReasonOOMKilled: UnitCount,
StatusRunning: UnitCount,
StatusFailed: UnitCount,
StatusPending: UnitCount,
StatusSucceeded: UnitCount,
StatusUnknown: UnitCount,
StatusReady: UnitCount,
StatusScheduled: UnitCount,

// cluster metrics
NodeCount: UnitCount,
Expand Down

0 comments on commit 3024bf3

Please sign in to comment.