Skip to content

fix(netdev): respect deviceFilter for node_network_address_info metric#3340

Merged
discordianfish merged 1 commit intoprometheus:masterfrom
DerRockWolf:fix/network_address_info-deviceFilter
Dec 17, 2025
Merged

fix(netdev): respect deviceFilter for node_network_address_info metric#3340
discordianfish merged 1 commit intoprometheus:masterfrom
DerRockWolf:fix/network_address_info-deviceFilter

Conversation

@DerRockWolf
Copy link
Copy Markdown
Contributor

When enabling the network_address_info (using --collector.netdev.address-info) the --collector.netdev.{device-exlude,device-include} flags are currently not respected.

This fix might be considered a breaking change.

@DerRockWolf DerRockWolf force-pushed the fix/network_address_info-deviceFilter branch from ce53b4c to 456f4e0 Compare May 29, 2025 11:43
@DerRockWolf
Copy link
Copy Markdown
Contributor Author

I would love if somebody of you could take a look at it 🙂
@SuperQ @discordianfish

Copy link
Copy Markdown
Member

@discordianfish discordianfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks!

@tohjustin
Copy link
Copy Markdown

Are there plans to merge this? 🥺

@discordianfish discordianfish merged commit b644734 into prometheus:master Dec 17, 2025
6 checks passed
@DerRockWolf
Copy link
Copy Markdown
Contributor Author

Thanks so much ❤️

@DerRockWolf DerRockWolf deleted the fix/network_address_info-deviceFilter branch February 8, 2026 20:38
SuperQ added a commit that referenced this pull request Apr 4, 2026
* [CHANGE] Adds distroless container image. #3592
* [FEATURE] infiniband: Add `hw_counters` metrics #2827
* [FEATURE] kernel_hung: Add collector for kernel hung tasks #3470
* [FEATURE] mixin: Add "All" option to cluster variable in dashboards #3509
* [FEATURE] netlink: Add node_network_altnames_info metric #3541
* [FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon #3547
* [FEATURE] bcachefs: Add new collector for bcachefs #3523
* [ENHANCEMENT] mixin: Make devices in network graphs configurable #3525
* [ENHANCEMENT] nvme: Add namespace parameters #3360
* [BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric #3340
* [BUGFIX] mountstats: Fix multiple transports statistics labeling #3358
* [BUGFIX] diskstats: Fix panic when using device-include flag only #3603

Signed-off-by: Ben Kochie <superq@gmail.com>
@SuperQ SuperQ mentioned this pull request Apr 4, 2026
SuperQ added a commit that referenced this pull request Apr 4, 2026
* [CHANGE] Adds distroless container image. #3592
* [FEATURE] infiniband: Add `hw_counters` metrics #2827
* [FEATURE] kernel_hung: Add collector for kernel hung tasks #3470
* [FEATURE] mixin: Add "All" option to cluster variable in dashboards #3509
* [FEATURE] netlink: Add node_network_altnames_info metric #3541
* [FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon #3547
* [FEATURE] bcachefs: Add new collector for bcachefs #3523
* [ENHANCEMENT] mixin: Make devices in network graphs configurable #3525
* [ENHANCEMENT] nvme: Add namespace parameters #3360
* [BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric #3340
* [BUGFIX] mountstats: Fix multiple transports statistics labeling #3358
* [BUGFIX] diskstats: Fix panic when using device-include flag only #3603

Signed-off-by: Ben Kochie <superq@gmail.com>
SuperQ added a commit that referenced this pull request Apr 4, 2026
* [CHANGE] Adds distroless container image. #3592
* [FEATURE] infiniband: Add `hw_counters` metrics #2827
* [FEATURE] kernel_hung: Add collector for kernel hung tasks #3470
* [FEATURE] mixin: Add "All" option to cluster variable in dashboards #3509
* [FEATURE] netlink: Add node_network_altnames_info metric #3541
* [FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon #3547
* [FEATURE] bcachefs: Add new collector for bcachefs #3523
* [ENHANCEMENT] mixin: Make devices in network graphs configurable #3525
* [ENHANCEMENT] nvme: Add namespace parameters #3360
* [BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric #3340
* [BUGFIX] mountstats: Fix multiple transports statistics labeling #3358
* [BUGFIX] diskstats: Fix panic when using device-include flag only #3603

Signed-off-by: Ben Kochie <superq@gmail.com>
renovate bot added a commit to sdwilsh/sOS that referenced this pull request Apr 7, 2026
….11.1

##### [\`v1.11.1\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.1)

- \[BUGFIX] Fix kernel\_hung for no data [#3613](prometheus/node_exporter#3613)

---
##### [\`v1.11.0\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.0)

- \[CHANGE] Adds distroless container image. [#3592](prometheus/node_exporter#3592)
- \[FEATURE] infiniband: Add `hw_counters` metrics [#2827](prometheus/node_exporter#2827)
- \[FEATURE] kernel\_hung: Add collector for kernel hung tasks [#3470](prometheus/node_exporter#3470)
- \[FEATURE] mixin: Add "All" option to cluster variable in dashboards [#3509](prometheus/node_exporter#3509)
- \[FEATURE] netlink: Add node\_network\_altnames\_info metric [#3541](prometheus/node_exporter#3541)
- \[FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon [#3547](prometheus/node_exporter#3547)
- \[FEATURE] bcachefs: Add new collector for bcachefs [#3523](prometheus/node_exporter#3523)
- \[ENHANCEMENT] mixin: Make devices in network graphs configurable [#3525](prometheus/node_exporter#3525)
- \[ENHANCEMENT] nvme: Add namespace parameters [#3360](prometheus/node_exporter#3360)
- \[BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric [#3340](prometheus/node_exporter#3340)
- \[BUGFIX] mountstats: Fix multiple transports statistics labeling [#3358](prometheus/node_exporter#3358)
- \[BUGFIX] diskstats: Fix panic when using device-include flag only [#3603](prometheus/node_exporter#3603)
renovate bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Apr 8, 2026
….11.1

##### [\`v1.11.1\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.1)

- \[BUGFIX] Fix kernel\_hung for no data [#3613](prometheus/node_exporter#3613)

---
##### [\`v1.11.0\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.0)

- \[CHANGE] Adds distroless container image. [#3592](prometheus/node_exporter#3592)
- \[FEATURE] infiniband: Add `hw_counters` metrics [#2827](prometheus/node_exporter#2827)
- \[FEATURE] kernel\_hung: Add collector for kernel hung tasks [#3470](prometheus/node_exporter#3470)
- \[FEATURE] mixin: Add "All" option to cluster variable in dashboards [#3509](prometheus/node_exporter#3509)
- \[FEATURE] netlink: Add node\_network\_altnames\_info metric [#3541](prometheus/node_exporter#3541)
- \[FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon [#3547](prometheus/node_exporter#3547)
- \[FEATURE] bcachefs: Add new collector for bcachefs [#3523](prometheus/node_exporter#3523)
- \[ENHANCEMENT] mixin: Make devices in network graphs configurable [#3525](prometheus/node_exporter#3525)
- \[ENHANCEMENT] nvme: Add namespace parameters [#3360](prometheus/node_exporter#3360)
- \[BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric [#3340](prometheus/node_exporter#3340)
- \[BUGFIX] mountstats: Fix multiple transports statistics labeling [#3358](prometheus/node_exporter#3358)
- \[BUGFIX] diskstats: Fix panic when using device-include flag only [#3603](prometheus/node_exporter#3603)
sdwilsh pushed a commit to sdwilsh/ansible-playbooks that referenced this pull request Apr 8, 2026
….11.1

##### [\`v1.11.1\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.1)

- \[BUGFIX] Fix kernel\_hung for no data [#3613](prometheus/node_exporter#3613)

---
##### [\`v1.11.0\`](https://github.com/prometheus/node_exporter/releases/tag/v1.11.0)

- \[CHANGE] Adds distroless container image. [#3592](prometheus/node_exporter#3592)
- \[FEATURE] infiniband: Add `hw_counters` metrics [#2827](prometheus/node_exporter#2827)
- \[FEATURE] kernel\_hung: Add collector for kernel hung tasks [#3470](prometheus/node_exporter#3470)
- \[FEATURE] mixin: Add "All" option to cluster variable in dashboards [#3509](prometheus/node_exporter#3509)
- \[FEATURE] netlink: Add node\_network\_altnames\_info metric [#3541](prometheus/node_exporter#3541)
- \[FEATURE] thermal: Add support for CPU temperature metrics on Apple Silicon [#3547](prometheus/node_exporter#3547)
- \[FEATURE] bcachefs: Add new collector for bcachefs [#3523](prometheus/node_exporter#3523)
- \[ENHANCEMENT] mixin: Make devices in network graphs configurable [#3525](prometheus/node_exporter#3525)
- \[ENHANCEMENT] nvme: Add namespace parameters [#3360](prometheus/node_exporter#3360)
- \[BUGFIX] netdev: Respect deviceFilter for `node_network_address_info` metric [#3340](prometheus/node_exporter#3340)
- \[BUGFIX] mountstats: Fix multiple transports statistics labeling [#3358](prometheus/node_exporter#3358)
- \[BUGFIX] diskstats: Fix panic when using device-include flag only [#3603](prometheus/node_exporter#3603)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants