Skip to content

v0.1.1

Choose a tag to compare

@farchanjo farchanjo released this 30 May 00:11

Maintenance release. Dynamic glibc x86_64. Default port and drop_monitor behavior changed — see below.

Changed

  • Default HTTP port 945633400 (configurable via NLX_LISTEN_ADDR / --listen-addr).
  • Rust 1.96 (edition 2024); optimized release profile (opt-level=3, lto=fat, codegen-units=1, strip).
  • nic_pcie AER aggregated per device (dropped the kind label) — ~91% fewer series.
  • Builds are dynamic glibc (musl dropped — monoio is glibc-only); glibc distroless image.

Added

  • Debian package (netlink-exporter_0.1.1_amd64.deb): systemd unit, /etc/default/nft_exporter (EnvironmentFile), conffiles. Depends: libc6, libcap2-bin.
  • Rewritten Makefilemake deb / make release / lint / test.

Fixed

  • drop_monitor works under the packaged service: startup CAP_SYS_ADMIN (NET_DM multicast join) is granted via file capabilities (setcap) — systemd ambient caps don't satisfy it. The service runs non-root and the binary drops to CAP_NET_ADMIN after the join.
  • Cleared pre-existing clippy warnings in the procfs collectors.

Install

```sh
curl -sSLO https://github.com/farchanjo/netlink_exporter/releases/download/v0.1.1/netlink-exporter_0.1.1_amd64.deb
sudo apt install ./netlink-exporter_0.1.1_amd64.deb # service on :33400, drop_monitor enabled
```

Verify: `sha256sum -c SHA256SUMS --ignore-missing`