Skip to content

Commit

Permalink
fix(ethtool): enable filtering out non-err/drop stats (#1003)
Browse files Browse the repository at this point in the history
Reduce cardinality of `interface_stats` by only keeping stats with "err"
or "drop" in the name.

Signed-off-by: Hunter Gregory <[email protected]>
  • Loading branch information
huntergregory authored Nov 13, 2024
1 parent 78b5dca commit 5a2a0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugin/linuxutil/linuxutil_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (lu *linuxUtil) run(ctx context.Context) error {
}()

ethtoolOpts := &EthtoolOpts{
errOrDropKeysOnly: false,
errOrDropKeysOnly: true,
addZeroVal: false,
limit: defaultLimit,
}
Expand Down

0 comments on commit 5a2a0e8

Please sign in to comment.