Skip to content

Commit 063b939

Browse files
committed
Use UnitCountPerSec instead of UnitCount because these are cumulative counters and so they are converted to deltas before sending down the pipeline.
1 parent 904e345 commit 063b939

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/aws/containerinsight/const.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,11 @@ func init() {
393393
EfaRxBytes: UnitBytesPerSec,
394394
EfaRxDropped: UnitCountPerSec,
395395
EfaTxBytes: UnitBytesPerSec,
396-
EfaRetransBytes: UnitBytes,
397-
EfaRetransPkts: UnitCount,
398-
EfaRetransTimeoutEvents: UnitCount,
399-
EfaUnresponsiveRemoveEvents: UnitCount,
400-
EfaImpairedRemoteConnEvents: UnitCount,
396+
EfaRetransBytes: UnitBytesPerSec,
397+
EfaRetransPkts: UnitCountPerSec,
398+
EfaRetransTimeoutEvents: UnitCountPerSec,
399+
EfaUnresponsiveRemoveEvents: UnitCountPerSec,
400+
EfaImpairedRemoteConnEvents: UnitCountPerSec,
401401

402402
EfaLimit: UnitCount,
403403
EfaUsageTotal: UnitCount,

0 commit comments

Comments
 (0)