v0.1.1
Maintenance release. Dynamic glibc x86_64. Default port and drop_monitor behavior changed — see below.
Changed
- Default HTTP port
9456→33400(configurable viaNLX_LISTEN_ADDR/--listen-addr). - Rust 1.96 (edition 2024); optimized release profile (
opt-level=3,lto=fat,codegen-units=1,strip). nic_pcieAER aggregated per device (dropped thekindlabel) — ~91% fewer series.- Builds are dynamic glibc (musl dropped —
monoiois 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
Makefile—make deb/make release/lint/test.
Fixed
drop_monitorworks under the packaged service: startupCAP_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 toCAP_NET_ADMINafter 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`