From 216edf25c81d9e941ad5b0b75b4d7b3fdffc6e43 Mon Sep 17 00:00:00 2001 From: Jared Ledvina Date: Fri, 18 Sep 2026 15:36:43 -0400 Subject: [PATCH] [network] collect ENA rx_csum_bad checksum errors Signed-off-by: Jared Ledvina --- network/changelog.d/25280.added | 1 + network/datadog_checks/network/const.py | 1 + network/metadata.csv | 1 + 3 files changed, 3 insertions(+) create mode 100644 network/changelog.d/25280.added diff --git a/network/changelog.d/25280.added b/network/changelog.d/25280.added new file mode 100644 index 0000000000000..b3242bfeeb654 --- /dev/null +++ b/network/changelog.d/25280.added @@ -0,0 +1 @@ +Collect the per-queue ENA `system.net.ena.queue.rx_csum_bad` metric. Linux 5.17 renamed the ethtool statistic from `rx_bad_csum` to `rx_csum_bad`, and the check now collects both spellings. diff --git a/network/datadog_checks/network/const.py b/network/datadog_checks/network/const.py index 04cae20c8967c..2ead06befe54a 100644 --- a/network/datadog_checks/network/const.py +++ b/network/datadog_checks/network/const.py @@ -82,6 +82,7 @@ "rx_bad_req_id", "rx_bytes", "rx_cnt", + "rx_csum_bad", "rx_csum_good", "rx_csum_unchecked", "rx_dma_mapping_err", diff --git a/network/metadata.csv b/network/metadata.csv index 490df0e1136f3..cfbef3820a2ae 100644 --- a/network/metadata.csv +++ b/network/metadata.csv @@ -255,6 +255,7 @@ system.net.udp6.connections,gauge,,connection,,The number of UDP IPv6 sockets cu system.net.ena.queue.rx_cnt,count,,packet,second,The number of packets received by a queue (Linux only).,0,system,ena queue rx pkts, system.net.ena.queue.rx_bytes,count,,byte,second,The number of bytes received by a queue (Linux only).,0,system,ena queue rx bytes, system.net.ena.queue.rx_bad_csum,count,,packet,second,The number of packets received by a queue with an incorrect checksum (Linux only).,-1,system,ena queue rx bad csum, +system.net.ena.queue.rx_csum_bad,count,,packet,second,The number of packets received by a queue with an incorrect checksum (Linux only). Linux 5.17 renamed the underlying ethtool statistic from rx_bad_csum to rx_csum_bad.,-1,system,ena queue rx csum bad, system.net.ena.queue.rx_good_csum,count,,packet,second,The number of packets received by a queue with an correct checksum (Linux only).,0,system,ena queue rx good csum, system.net.ena.queue.rx_csum_good,count,,packet,,The number packets received by a queue with a good checksum (Linux only).,0,system,ena queue rx good csum, system.net.ena.queue.rx_csum_unchecked,count,,packet,,The number packets received by a queue with an unchecked checksum (Linux only).,0,system,ena queue rx unchecked csum,