<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/prometheus-node-exporter-ucode/test, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-07-03T05:36:06Z</updated>
<entry>
<title>prometheus-node-exporter-ucode: add nat_traffic collector</title>
<updated>2026-07-03T05:36:06Z</updated>
<author>
<name>Ricard Nacher</name>
</author>
<published>2026-06-10T14:54:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=ab26c76ed6fdbb086f8b48785c32665e39b1ccb3'/>
<id>urn:sha1:ab26c76ed6fdbb086f8b48785c32665e39b1ccb3</id>
<content type='text'>
Add a nat_traffic collector for prometheus-node-exporter-ucode,
ported from the equivalent Lua collector in prometheus-node-exporter-lua.

Reads /proc/net/nf_conntrack and exports per-(src, dst) pair byte
totals (both directions summed) as node_nat_traffic gauge metrics.

Also includes a ucode-based unit test with a fixture file that can be
run locally with: ucode test/nat_traffic.uc

Signed-off-by: Ricard Nacher &lt;ricard.nacher@midokura.com&gt;
</content>
</entry>
</feed>
