Commit Graph
6 Commits
Author SHA1 Message Date
Etienne Champetier 9e3e7f45f4 prometheus-node-exporter-ucode: fixup CI
Skip ci version check, return 0 when /proc/net/nf_conntrack is missing.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2026-07-06 10:21:13 +02:00
Ricard Nacher ab26c76ed6 prometheus-node-exporter-ucode: add nat_traffic collector
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 <ricard.nacher@midokura.com>
2026-07-03 08:36:06 +03:00
George Sapkin de64f871b0 treewide: fix spelling and grammar in Makefiles
Fix spelling and grammar in package definitions, configs, comments and
other strings.

Signed-off-by: George Sapkin <george@sapk.in>
2025-12-31 09:12:36 +02:00
Anirudh Srinivasan d4a4de8309 prometheus-node-exporter-ucode: fix missing .so mounts in jail
Signed-off-by: Anirudh Srinivasan <anirudhsriniv@gmail.com>
2025-02-09 17:53:37 +08:00
Andre Heider 77140e85bd prometheus-node-exporter-ucode: fix sporadic wifi errors and warnings
Some properties may not yet be available, properly guard them.

Fixes error like:
daemon.err uhttpd[2116]: error running collector 'wifi':
daemon.err uhttpd[2116]: left-hand side expression is null

Signed-off-by: Andre Heider <a.heider@gmail.com>
2024-02-07 14:17:17 +01:00
Andre Heider 06c2ef2ce4 prometheus-node-exporter-ucode: add new package
This is a port of prometheus-node-exporter-lua to ucode.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-08-25 10:18:26 +02:00