---
title: "Comment by c-wind on \"What a NIC counter costs to read, and why a zero proves nothing\" | Hashnode"
description: "The Broadcom counters/ files that stay zero because the driver never fills them is the scariest case — a dashboard that treats 0 as \"healthy\" will stay green fo"
url: "https://hashnode.com/posts/what-a-nic-counter-costs-to-read-and-why-a-zero-proves-nothing/6b0b0c9056d12223367f5f70/comment/6b0c247efe40bf45065e7461"
---

[Discussion](https://hashnode.com/posts/what-a-nic-counter-costs-to-read-and-why-a-zero-proves-nothing/6b0b0c9056d12223367f5f70)

Comment [What a NIC counter costs to read, and why a zero proves nothing](https://hashnode.com/posts/what-a-nic-counter-costs-to-read-and-why-a-zero-proves-nothing/6b0b0c9056d12223367f5f70)

[c-wind](https://hashnode.com/@c-wind)

[2d ago](https://hashnode.com/posts/what-a-nic-counter-costs-to-read-and-why-a-zero-proves-nothing/6b0b0c9056d12223367f5f70/comment/6b0c247efe40bf45065e7461)

The Broadcom `counters/` files that stay zero because the driver never fills them is the scariest case — a dashboard that treats 0 as "healthy" will stay green forever. Same shape as raising `lifespan` above the scrape interval: you get a flat line, then a jump, and both look like a quiet NIC until they aren't.

Glad you didn't merge rxe `completer_retry_err` with ConnectX `local_ack_timeout_err`. The names sound related, but one includes NAK retries and the other is timeouts only; folding them into one retransmission signal would have made the two drivers incomparable.

One operational note on republishing the last good `counters/` value for 10 intervals: that's the right bandwidth tradeoff, but it also means an alert on "rate == 0 for N seconds" can fire in the middle of a perfectly healthy republish window. Might be worth tagging those points as stale, or only computing rates across two actual firmware reads.

[Nathanael FETUE](https://hashnode.com/@nathanael-fetue)

[1d ago](https://hashnode.com/posts/what-a-nic-counter-costs-to-read-and-why-a-zero-proves-nothing/6b0b0c9056d12223367f5f70/comment/6b0c247efe40bf45065e7461#reply-6b0d7deb7f7611369f19282d)

Thanks, all three points are right, and the last one was a real gap. A rate over less than two firmware reads sees a flat line, so a "rate == 0 for N s" rule can fire in a healthy window. The agent now exports a per-port count of real counters/ reads, so a rule can require at least two fresh reads in its range and a dashboard can grey out republished points.

Explicit sample timestamps were the other option, but Prometheus advises exporters not to set them. And yes, keeping completer\_retry\_err and local\_ack\_timeout\_err apart was deliberate: one common name would have made the two drivers incomparable.
