1
0
mirror of https://github.com/prometheus/node_exporter.git synced 2026-10-23 08:09:06 +03:00

264 Commits

Author SHA1 Message Date
dependabot[bot]
ec12b97885 build(deps): bump github.com/prometheus/common (#3856)
Bumps the prometheus group with 1 update: [github.com/prometheus/common](https://github.com/prometheus/common).


Updates `github.com/prometheus/common` from 0.72.0 to 0.72.1
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/common/compare/v0.72.0...v0.72.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-version: 0.72.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prometheus
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 14:49:05 +02:00
dependabot[bot]
1a5616a599 build(deps): bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0 in the prometheus group (#3854)
Bumps the prometheus group with 1 update: [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang).


Updates `github.com/prometheus/client_golang` from 1.24.1 to 1.25.0
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.25.0/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prometheus
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 10:05:54 +02:00
dependabot[bot]
1271bc2442 build(deps): bump github.com/beevik/ntp from 1.5.0 to 1.6.0 (#3836)
Bumps [github.com/beevik/ntp](https://github.com/beevik/ntp) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/beevik/ntp/releases)
- [Changelog](https://github.com/beevik/ntp/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/beevik/ntp/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/beevik/ntp
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-07 15:19:56 +02:00
dependabot[bot]
15f45ee82a build(deps): bump the prometheus group across 1 directory with 3 updates (#3835)
Bumps the prometheus group with 3 updates in the / directory: [github.com/prometheus/client_model](https://github.com/prometheus/client_model), [github.com/prometheus/common](https://github.com/prometheus/common) and [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit).


Updates `github.com/prometheus/client_model` from 0.6.2 to 0.6.3
- [Release notes](https://github.com/prometheus/client_model/releases)
- [Commits](https://github.com/prometheus/client_model/compare/v0.6.2...v0.6.3)

Updates `github.com/prometheus/common` from 0.70.1 to 0.72.0
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/common/compare/v0.70.1...v0.72.0)

Updates `github.com/prometheus/exporter-toolkit` from 0.19.0 to 0.20.0
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases)
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_model
  dependency-version: 0.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prometheus
- dependency-name: github.com/prometheus/common
  dependency-version: 0.72.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prometheus
- dependency-name: github.com/prometheus/exporter-toolkit
  dependency-version: 0.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prometheus
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-07 12:03:41 +02:00
neoLsH
794e058b51 netstat: Use procfs parsers for netstat, snmp and snmp6 (#3796)
* netstat: Use procfs parsers for netstat, snmp and snmp6

Replace the hand-written parsers for /proc/net/netstat, /proc/net/snmp
and /proc/net/snmp6 with the parsers from prometheus/procfs
(Proc.Netstat, Proc.Snmp and Proc.Snmp6). The statistics are read via
/proc/self/net, which is equivalent to /proc/net (both are
network-namespace local views of the current process), so the collected
data is unchanged.

Metrics are exposed by iterating the procfs statistics structs, the
same approach the NFS collector uses: fields are *float64 and only the
ones present on the system are exported, matching the previous
behavior. The --collector.netstat.fields flag and the exported metric
names are unchanged; the e2e golden output is identical.

Signed-off-by: neoLsH <43921685+neoLsH@users.noreply.github.com>

* netstat: use explicit package-level metric descriptors

Replace the per-scrape prometheus.NewDesc calls with a pre-built map of
explicit descriptors (netstat_descs_linux.go, generated from the procfs
statistics structs), as requested in review. Collection still reflects over
the procfs structs but looks up the descriptor by "<protocol>_<field>", so
descriptors are allocated once and are source-visible literals for the
AST-based doc generation. Metric names, help strings and types are unchanged.

Signed-off-by: 霏承 <huangleshu.hls@alibaba-inc.com>

* Bump procfs to v0.22.0 to populate legacy TcpExt descriptors

procfs v0.22.0 includes prometheus/procfs#863, which models the 10 legacy
TcpExt counters. With this bump, the explicit descriptors already present in
netstat_descs_linux.go start populating for users whose field regex selects
them, restoring parity with older kernels.

Part of #3796.

Signed-off-by: 霏承 <huangleshu.hls@alibaba-inc.com>

* Add generator and drift test for the netstat descriptor table

netstat_descs_linux.go was previously committed without its generator. Add an
in-repo generator (netstat_descs_gen.go, a build-ignored program run via
GOOS=linux go generate ./collector) that regenerates the explicit descriptor
table from the procfs structs, mirroring the go:generate pattern used elsewhere
in the Prometheus ecosystem.

Add TestNetStatDescsInSync, a drift test that fails if the committed table
diverges from the procfs structs (e.g. after a procfs upgrade) until the table
is regenerated.

Part of #3796.

Signed-off-by: 霏承 <huangleshu.hls@alibaba-inc.com>

---------

Signed-off-by: neoLsH <43921685+neoLsH@users.noreply.github.com>
Signed-off-by: 霏承 <huangleshu.hls@alibaba-inc.com>
2026-08-31 15:29:08 +02:00
Nicolas Takashi
baa938bdb5 main: use exporter-toolkit bootstrap runner (#3660)
Refactor node_exporter's entrypoint to build its configuration and
run via the exporter-toolkit bootstrap runner, as groundwork for
making node_exporter easier to embed outside the standalone binary.

Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
2026-08-27 04:33:04 -03:00
dependabot[bot]
0ece0c4a49 build(deps): bump github.com/mdlayher/wifi from 0.8.0 to 0.9.0 (#3781)
Bumps [github.com/mdlayher/wifi](https://github.com/mdlayher/wifi) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/mdlayher/wifi/releases)
- [Commits](https://github.com/mdlayher/wifi/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/wifi
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-05 21:15:16 +02:00
dependabot[bot]
624f8ede44 build(deps): bump the prometheus group with 2 updates (#3780)
Bumps the prometheus group with 2 updates: [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) and [github.com/prometheus/common](https://github.com/prometheus/common).


Updates `github.com/prometheus/client_golang` from 1.23.2 to 1.24.1
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.24.1/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.23.2...v1.24.1)

Updates `github.com/prometheus/common` from 0.70.0 to 0.70.1
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/common/compare/v0.70.0...v0.70.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.24.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prometheus
- dependency-name: github.com/prometheus/common
  dependency-version: 0.70.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prometheus
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-05 21:14:55 +02:00
Ben Kochie
eb1711fa89 Release v1.12.0 (#3726)
* [FEATURE] mountstats: Add NFS mountpoint info metric #3554
* [FEATURE] nvmesubsystem: Add new collector #3579
* [FEATURE] dmmultipath: Add new collector #3581
* [FEATURE] infiniband: Add device filtering option #3694
* [ENHANCEMENT] hwmon: disambiguate colliding chip labels #3646
* [ENHANCEMENT] cpufreq: Add support for cpuinfo_avg_freq #3712
* [ENHANCEMENT] filesystem: Support ext4 super block emergency_ro flag #3717
* [ENHANCEMENT] edac: Add per-channel error metrics with DIMM labels #3720
* [BUGFIX] diskstats: Only enforce mutual exclusivity for non-empty values #3617
* [BUGFIX] thermal_zone: Handle EINVAL errors gracefully #3657
* [BUGFIX] filesystem: Add comma separator in mount options #3659
* [BUGFIX] diskstats: Fix rotational queue stats scrape regression #3686
* [BUGFIX] filesystem: Prevent panic on mount points with non-UTF-8 names #3687

Signed-off-by: Ben Kochie <superq@gmail.com>
2026-07-10 18:38:47 +02:00
dependabot[bot]
9e28700654 build(deps): bump github.com/mdlayher/wifi from 0.7.2 to 0.8.0 (#3725)
Bumps [github.com/mdlayher/wifi](https://github.com/mdlayher/wifi) from 0.7.2 to 0.8.0.
- [Release notes](https://github.com/mdlayher/wifi/releases)
- [Commits](https://github.com/mdlayher/wifi/compare/v0.7.2...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/wifi
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-10 17:40:13 +02:00
dependabot[bot]
adf7cf96e1 build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.0 (#3724)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.69.0 to 0.70.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/common/compare/v0.69.0...v0.70.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-version: 0.70.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-10 17:39:58 +02:00
dependabot[bot]
2094339b90 build(deps): bump golang.org/x/sys in the golang-org-x group (#3723)
Bumps the golang-org-x group with 1 update: [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/sys` from 0.46.0 to 0.47.0
- [Commits](https://github.com/golang/sys/compare/v0.46.0...v0.47.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.47.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang-org-x
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-10 17:27:36 +02:00
dependabot[bot]
0214aa4ebb build(deps): bump github.com/opencontainers/selinux (#3679)
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.13.1 to 1.15.1.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.13.1...v1.15.1)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
  dependency-version: 1.15.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2026-07-07 11:16:19 +02:00
dependabot[bot]
0e3fbb6ae1 build(deps): bump github.com/prometheus/exporter-toolkit (#3701)
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit) from 0.16.0 to 0.17.1.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases)
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.16.0...v0.17.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
  dependency-version: 0.17.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-06 23:41:55 +02:00
dependabot[bot]
1eecf9fa65 build(deps): bump github.com/mdlayher/ethtool from 0.6.0 to 0.6.1 (#3704)
Bumps [github.com/mdlayher/ethtool](https://github.com/mdlayher/ethtool) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/mdlayher/ethtool/releases)
- [Commits](https://github.com/mdlayher/ethtool/compare/v0.6.0...v0.6.1)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/ethtool
  dependency-version: 0.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-06 15:23:50 +02:00
Shirly Radco
7c75345146 build(deps): bump prometheus/procfs to v0.21.1 (#3715)
Update procfs to v0.21.1, along with transitive
dependency bumps for golang.org/x/sys and
golang.org/x/sync.

This version changes the NVMe namespace directory
regex from nvme\d+c\d+n to nvme\d+n. Rename the
test fixture from nvme0c0n0 to nvme0n1 and update
e2e expected output to match.

Mdraid.Disks changed from uint64 to *uint64 (nil
when unavailable, e.g. container/imsm/ddf arrays).
Guard the dereference in mdadm_linux.go to prevent
a nil pointer panic.

Fixes: https://github.com/prometheus/node_exporter/issues/3691

Signed-off-by: Shirly Radco <sradco@redhat.com>
Co-authored-by: AI Assistant <noreply@cursor.com>
2026-07-06 14:45:14 +02:00
Ruthwik Kakumani
a1180ab03a collector/diskstats: fix rotational queue stats scrape regression (#3686)
* collector/diskstats: fix rotational queue stats scrape regression (#3282)

Fix a 10× scrape-latency regression introduced in #3022 on systems with
many block devices.

Previously, Update() called SysBlockDeviceQueueStats(dev) for every
block device per scrape, reading ~30 sysfs files per device. On systems
with 1,000+ devices this resulted in 30,000+ unnecessary file reads per
scrape, causing timeouts.

Replace the expensive struct call with a targeted rotationalLabel()
helper that delegates to blockdevice.FS.SysBlockDeviceRotational(dev)
(added in prometheus/procfs#824). This reads exactly 1 sysfs file per
device:
  /sys/block/<device>/queue/rotational

Returns "1" for rotational (HDD) and "0" for non-rotational (SSD/NVMe),
failing closed to "0" on any error — matching the zero-initialised-struct
behaviour of the old code.

Also add:
- TestRotationalLabel: dynamic t.TempDir()-based tests via blockdevice.FS,
  covering HDD, SSD, and missing-file cases.
- BenchmarkDiskstatsUpdate: measures the full Update() call to catch
  future per-device sysfs I/O regressions before merge.

Fixes #3282

Signed-off-by: Ruthwik Kakumani <ruthwikkakumani08@gmail.com>

* Update collector/diskstats_linux.go

Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>

---------

Signed-off-by: Ruthwik Kakumani <ruthwikkakumani08@gmail.com>
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
2026-06-26 20:10:27 -03:00
dependabot[bot]
b9b6820db7 build(deps): bump github.com/mdlayher/netlink from 1.11.1 to 1.11.2 (#3678)
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.11.1...v1.11.2)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
  dependency-version: 1.11.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 18:31:18 +02:00
dependabot[bot]
fa5c74f463 build(deps): bump github.com/prometheus/common from 0.67.5 to 0.68.1 (#3677)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.67.5 to 0.68.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/common/compare/v0.67.5...v0.68.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-version: 0.68.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 16:40:04 +02:00
PrometheusBot
735124b721 Synchronize common files from prometheus/prometheus (#3667)
* Update common Prometheus files

Signed-off-by: prombot <prometheus-team@googlegroups.com>

* Bump golang.org/x/ to satisfy govulncheck.

Signed-off-by: Ben Kochie <superq@gmail.com>

---------

Signed-off-by: prombot <prometheus-team@googlegroups.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2026-05-26 09:09:31 +02:00
dependabot[bot]
d5393c0151 build(deps): bump github.com/mdlayher/netlink from 1.10.0 to 1.11.1 (#3640)
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.10.0 to 1.11.1.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.10.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
  dependency-version: 1.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-10 11:03:13 +02:00
PrometheusBot
697bc0ecb0 Synchronize common files from prometheus/prometheus (#3651)
* Update common Prometheus files

Signed-off-by: prombot <prometheus-team@googlegroups.com>

* Bump golang.org/x/net for govluncheck.

Signed-off-by: Ben Kochie <superq@gmail.com>

---------

Signed-off-by: prombot <prometheus-team@googlegroups.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2026-05-10 11:02:40 +02:00
Ben Kochie
14fddfc752 Release v1.11.0 (#3608)
* [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>
2026-04-04 14:42:44 +02:00
dependabot[bot]
33c8ca0983 build(deps): bump github.com/mdlayher/ethtool from 0.5.1 to 0.6.0 (#3596)
Bumps [github.com/mdlayher/ethtool](https://github.com/mdlayher/ethtool) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/mdlayher/ethtool/releases)
- [Commits](https://github.com/mdlayher/ethtool/compare/v0.5.1...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/ethtool
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 16:23:12 +02:00
dependabot[bot]
f5f9e14791 build(deps): bump golang.org/x/sys from 0.41.0 to 0.42.0 (#3595)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.41.0 to 0.42.0.
- [Commits](https://github.com/golang/sys/compare/v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 16:13:42 +02:00
dependabot[bot]
ae0f617b7e build(deps): bump github.com/mdlayher/netlink from 1.9.0 to 1.10.0 (#3594)
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 16:13:26 +02:00
dependabot[bot]
fe42c899ae build(deps): bump github.com/mdlayher/netlink from 1.8.0 to 1.9.0 (#3563)
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-04 09:37:55 +01:00
Shashwat Hiregoudar
4687bcce22 nvme: Add namespace metrics (#3360)
Add nvme namespace metrics.

---------

Signed-off-by: Shashwat Hiregoudar <shashwathiregoudar@gmail.com>
Signed-off-by: Shashwat Hiregoudar <shashwat.h@flipkart.com>
Co-authored-by: Shashwat Hiregoudar <shashwat.h@flipkart.com>
2026-03-04 09:37:25 +01:00
dependabot[bot]
0a31248d7b build(deps): bump github.com/prometheus/exporter-toolkit (#3560)
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases)
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.15.0...v0.15.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
  dependency-version: 0.15.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 10:08:48 +01:00
dependabot[bot]
e676331cf3 build(deps): bump github.com/prometheus/procfs from 0.19.2 to 0.20.0 (#3558)
Bumps [github.com/prometheus/procfs](https://github.com/prometheus/procfs) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/prometheus/procfs/releases)
- [Commits](https://github.com/prometheus/procfs/compare/v0.19.2...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/procfs
  dependency-version: 0.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-26 23:06:01 +01:00
dependabot[bot]
3207942921 build(deps): bump github.com/mdlayher/ethtool from 0.5.0 to 0.5.1 (#3559)
Bumps [github.com/mdlayher/ethtool](https://github.com/mdlayher/ethtool) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/mdlayher/ethtool/releases)
- [Commits](https://github.com/mdlayher/ethtool/compare/v0.5.0...v0.5.1)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/ethtool
  dependency-version: 0.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-26 18:15:58 +01:00
dependabot[bot]
be92d50a54 build(deps): bump github.com/jsimonetti/rtnetlink/v2 from 2.1.0 to 2.2.0 (#3557)
Bumps [github.com/jsimonetti/rtnetlink/v2](https://github.com/jsimonetti/rtnetlink) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/jsimonetti/rtnetlink/releases)
- [Commits](https://github.com/jsimonetti/rtnetlink/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/jsimonetti/rtnetlink/v2
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-25 18:56:14 +01:00
dependabot[bot]
45e770fe5e build(deps): bump github.com/opencontainers/selinux (#3492)
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.13.0...v1.13.1)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
  dependency-version: 1.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-10 22:39:51 +01:00
dependabot[bot]
6ba05bfe57 build(deps): bump github.com/godbus/dbus/v5 from 5.2.0 to 5.2.2 (#3531)
Bumps [github.com/godbus/dbus/v5](https://github.com/godbus/dbus) from 5.2.0 to 5.2.2.
- [Release notes](https://github.com/godbus/dbus/releases)
- [Commits](https://github.com/godbus/dbus/compare/v5.2.0...v5.2.2)

---
updated-dependencies:
- dependency-name: github.com/godbus/dbus/v5
  dependency-version: 5.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-10 14:57:08 +01:00
dependabot[bot]
f15c1e84f1 build(deps): bump github.com/mdlayher/wifi from 0.7.1 to 0.7.2 (#3534)
Bumps [github.com/mdlayher/wifi](https://github.com/mdlayher/wifi) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/mdlayher/wifi/releases)
- [Commits](https://github.com/mdlayher/wifi/compare/v0.7.1...v0.7.2)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/wifi
  dependency-version: 0.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-10 14:56:33 +01:00
dependabot[bot]
368a4794d8 build(deps): bump github.com/coreos/go-systemd/v22 from 22.6.0 to 22.7.0 (#3533)
Bumps [github.com/coreos/go-systemd/v22](https://github.com/coreos/go-systemd) from 22.6.0 to 22.7.0.
- [Release notes](https://github.com/coreos/go-systemd/releases)
- [Commits](https://github.com/coreos/go-systemd/compare/v22.6.0...v22.7.0)

---
updated-dependencies:
- dependency-name: github.com/coreos/go-systemd/v22
  dependency-version: 22.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-10 14:42:28 +01:00
dependabot[bot]
c8695b426a build(deps): bump github.com/prometheus/common from 0.67.2 to 0.67.5 (#3532)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.67.2 to 0.67.5.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/common/compare/v0.67.2...v0.67.5)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-version: 0.67.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-10 14:39:38 +01:00
Ben Kochie
6a3051acd6 Update Go modules (#3519)
* Update deps for selinux library, they don't keep things up-to-date.
* Update cpu collector to use standard library `maps`.

Signed-off-by: Ben Kochie <superq@gmail.com>
2026-01-23 08:26:50 +01:00
dependabot[bot]
48c5b1e085 build(deps): bump github.com/mdlayher/wifi from 0.7.0 to 0.7.1 (#3491)
Bumps [github.com/mdlayher/wifi](https://github.com/mdlayher/wifi) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/mdlayher/wifi/releases)
- [Commits](https://github.com/mdlayher/wifi/compare/v0.7.0...v0.7.1)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/wifi
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-22 10:00:43 +01:00
dependabot[bot]
880c3e43af build(deps): bump github.com/safchain/ethtool from 0.6.2 to 0.7.0 (#3493)
Bumps [github.com/safchain/ethtool](https://github.com/safchain/ethtool) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/safchain/ethtool/releases)
- [Commits](https://github.com/safchain/ethtool/compare/v0.6.2...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/safchain/ethtool
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-22 09:59:54 +01:00
dependabot[bot]
627fc93339 build(deps): bump github.com/godbus/dbus/v5 from 5.1.0 to 5.2.0 (#3495)
Bumps [github.com/godbus/dbus/v5](https://github.com/godbus/dbus) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/godbus/dbus/releases)
- [Commits](https://github.com/godbus/dbus/compare/v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: github.com/godbus/dbus/v5
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-22 09:59:39 +01:00
dependabot[bot]
b306b639e1 build(deps): bump golang.org/x/crypto from 0.43.0 to 0.45.0 (#3481)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.43.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.43.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 14:18:49 +01:00
dependabot[bot]
e62d5975cb build(deps): bump golang.org/x/sys from 0.37.0 to 0.38.0 (#3476)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/sys/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-09 09:37:45 +01:00
dependabot[bot]
c9f46cbb7c build(deps): bump github.com/prometheus/procfs from 0.19.0 to 0.19.2 (#3462)
Bumps [github.com/prometheus/procfs](https://github.com/prometheus/procfs) from 0.19.0 to 0.19.2.
- [Release notes](https://github.com/prometheus/procfs/releases)
- [Commits](https://github.com/prometheus/procfs/compare/v0.19.0...v0.19.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/procfs
  dependency-version: 0.19.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-09 09:10:56 +01:00
dependabot[bot]
a1448ed711 build(deps): bump github.com/jsimonetti/rtnetlink/v2 from 2.0.5 to 2.1.0 (#3463)
Bumps [github.com/jsimonetti/rtnetlink/v2](https://github.com/jsimonetti/rtnetlink) from 2.0.5 to 2.1.0.
- [Release notes](https://github.com/jsimonetti/rtnetlink/releases)
- [Commits](https://github.com/jsimonetti/rtnetlink/compare/v2.0.5...v2.1.0)

---
updated-dependencies:
- dependency-name: github.com/jsimonetti/rtnetlink/v2
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-09 09:10:40 +01:00
dependabot[bot]
48282f6778 build(deps): bump github.com/prometheus/common from 0.67.1 to 0.67.2 (#3464)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.67.1 to 0.67.2.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/common/compare/v0.67.1...v0.67.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-version: 0.67.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-09 08:30:31 +01:00
dependabot[bot]
52f18bc90a build(deps): bump github.com/mdlayher/wifi from 0.6.0 to 0.7.0 (#3465)
Bumps [github.com/mdlayher/wifi](https://github.com/mdlayher/wifi) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/mdlayher/wifi/releases)
- [Commits](https://github.com/mdlayher/wifi/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/wifi
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-08 10:16:06 +01:00
dependabot[bot]
79a8382b2a build(deps): bump github.com/opencontainers/selinux (#3474)
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
  dependency-version: 1.13.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-08 09:31:10 +01:00
dependabot[bot]
5a41bfd298 build(deps): bump github.com/prometheus/exporter-toolkit (#3461)
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases)
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.14.1...v0.15.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
  dependency-version: 0.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-08 09:18:18 +01:00
Ben Kochie
e1ae6ae65b filesystem: Refactor mountinfo parsing (#3452)
* filesystem: Refactor mountinfo parsing

Migrate mountinfo parsing to procfs library. This fixes incorrect
parsing introduced by PR #3387.

Fixes: https://github.com/prometheus/node_exporter/issues/3450

Signed-off-by: Ben Kochie <superq@gmail.com>

* Update fixtures for new infiniband procfs feature.

Signed-off-by: Ben Kochie <superq@gmail.com>

---------

Signed-off-by: Ben Kochie <superq@gmail.com>
2025-10-25 18:40:46 +02:00