Johannes Ziemke
709388ed15
AIX: Fix disk blocks to bytes conversion
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2025-05-28 19:19:02 +02:00
Johannes Ziemke
4d053b94a9
AIX: Remove redundant disk blocks metric, fix times
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2025-05-28 19:19:02 +02:00
Johannes Ziemke
0e8817612a
AIX: Fix physical cpu usage calculation
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2025-05-28 19:19:02 +02:00
Johannes Ziemke
940e73b895
AIX: Add context switches to cpu collector
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2025-05-28 19:19:02 +02:00
Johannes Ziemke
0cb7b61fd6
AIX: Add partition stats
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2025-05-28 19:19:02 +02:00
Johannes Ziemke
430023e7e2
AIX: Add netadapter collision counters
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2025-05-28 19:19:02 +02:00
Johannes Ziemke
481b824b08
AIX: Add transmit_queue_overflow metric to netdev collector
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2025-05-28 19:19:02 +02:00
Johannes Ziemke
65d2538f14
AIX: Add paging memory metrics
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2025-05-28 19:19:02 +02:00
Johannes Ziemke
2c33bc58ea
AIX: Add more disk metrics
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2025-05-28 19:19:02 +02:00
Johannes Ziemke
853af0cec0
AIX: Add physical cpu, runqueue and flag metrics
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2025-05-28 19:19:02 +02:00
Nabil
e942bae99f
chore: fix some typos ( #3316 )
...
Signed-off-by: Nabil <nabilcharaf37@gmail.com>
2025-05-21 19:53:59 +02:00
dependabot[bot]
467d1f3d7d
build(deps): bump golang.org/x/sys from 0.30.0 to 0.32.0 ( #3324 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.30.0 to 0.32.0.
- [Commits](https://github.com/golang/sys/compare/v0.30.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.32.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-05-19 11:48:03 +02:00
Guillaume E.
45eb59d29e
Fix ethtool returning 0 for sanitized metrics ( #3335 )
...
The ethtool_linux looks for ethtool stats with their sanitized name
which might be different from the name provisioned by ethtool.
This caused node-exporter to return a 0-value for sanitized metrics.
This patch works-around the missing key by copying ethtool stats
to another map under their sanitized name.
Signed-off-by: Guillaume Espanel <guillaume.espanel@ovhcloud.com>
Co-authored-by: Guillaume Espanel <guillaume.espanel@ovhcloud.com>
2025-05-19 11:41:17 +02:00
dependabot[bot]
67ebd4c4ff
build(deps): bump github.com/mdlayher/wifi from 0.3.1 to 0.5.0 ( #3323 )
...
Bumps [github.com/mdlayher/wifi](https://github.com/mdlayher/wifi ) from 0.3.1 to 0.5.0.
- [Release notes](https://github.com/mdlayher/wifi/releases )
- [Commits](https://github.com/mdlayher/wifi/compare/v0.3.1...v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/mdlayher/wifi
dependency-version: 0.5.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-05-18 11:54:03 +02:00
Siavash Safi
979a349637
fix: darwin netdev i/o bytes metric ( #3336 )
...
There is a bug in darwin kernel since macOS Ventura 13.2.1,
which results in interface i/o bytes values to be truncated at 4GiB.
This change uses a workaround to collect the same metrics,
taking advantage of another bug.
fixes #3333
Signed-off-by: Siavash Safi <git@hosted.run>
2025-05-18 11:53:48 +02:00
Charlie Chiang
43fb05c81d
Fix macos filesystem collector cgo memory leak ( #3315 )
...
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
2025-05-15 08:41:20 +02:00
Ben Kochie
38d32a3977
pressure: Fix missing IRQ on older kernels ( #3263 )
...
Fix "no data" error on kernels that support some PSI status, but don't
yet have IRQ presure metrics. Only report "no data" error if `pressure`
is enabled and no PSI metrics were found.
Fixes: https://github.com/prometheus/node_exporter/issues/3259
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-03-31 17:52:53 +02:00
dependabot[bot]
2401158dd7
build(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 ( #3266 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.33.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 12:47:56 +02:00
dependabot[bot]
e44309c825
build(deps): bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0 ( #3262 )
...
* build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.5 to 1.21.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.5...v1.21.0 )
Signed-off-by: Ben Kochie <superq@gmail.com>
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update e2e fixtures for new client_golang.
Signed-off-by: Ben Kochie <superq@gmail.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2025-03-31 12:47:39 +02:00
Manuel Rüger
8804ce1551
diskstats: Simplify condition ( #3290 )
...
As the comment says, this can be simplified now.
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2025-03-31 12:47:22 +02:00
Ben Kochie
e5caa394c8
Sanitize darwin thermal strings ( #3294 )
...
Use `utils.SafeBytesToString()` to sanitize C strings the Darwin
thermal collector.
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-03-31 12:46:39 +02:00
PrometheusBot
8c3f1a2da3
Update common Prometheus files ( #3291 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-03-31 11:00:53 +02:00
Ben Kochie
729a03136f
Fix OpenBSD interrupt device parsing ( #3288 )
...
Sanitize zero terminated strings from OpenBSD device name parsing.
* Add byte-to-string util function.
Fixes: https://github.com/prometheus/node_exporter/issues/3287
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-03-31 11:00:34 +02:00
Ben Kochie
e768aad83d
Fix flaky Solaris test ( #3289 )
...
Ignore `node_cpu_frequency_max_hertz` to fix flaky Solaris end-to-end
test.
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-03-28 10:48:44 +01:00
PrometheusBot
93b79b44bd
Update common Prometheus files ( #3286 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-03-27 18:56:08 +01:00
PrometheusBot
9b898b8df4
Update common Prometheus files ( #3264 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2025-03-27 11:45:52 +01:00
Ben Kochie
58ac08e216
Fix linter warning ( #3280 )
...
Fix S1009: should omit nil check; len() for nil maps is defined as zero (gosimple)
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-03-27 09:57:33 +01:00
Rolf Klemenz
47e2bb34ce
Avoid memory leak by using value rather than reference. ( #3277 )
...
Signed-off-by: Rolf Klemenz <tickez@madnet.ch>
2025-03-26 15:30:46 +01:00
Ben Kochie
5d458955be
Update Go to 1.24 ( #3273 )
...
* Update Go to 1.24 for all builds.
* Update minimum Go version to 1.23.
* Bump procfs library.
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-03-26 09:46:27 +01:00
Pranshu Srivastava
0c10545e8d
collector/mdadm: Support RAID metrics ( #3031 )
...
Use `sysfs` for RAID stats.
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2025-02-24 10:19:48 +01:00
Ibrahim Awwad
6cfb6437fc
feat: add SystemdVirtualization type ( #3254 )
...
* feat: add SystemdVirtualization type
---------
Signed-off-by: IbraAoad <Ibrahim.Awwad@canonical.com>
Signed-off-by: Ibrahim Awwad <ibraaoad@gmail.com>
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
Signed-off-by: Alexander Soelberg Heidarsson <89837986+alex5517@users.noreply.github.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
Co-authored-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
Co-authored-by: Alexander Soelberg Heidarsson <89837986+alex5517@users.noreply.github.com>
2025-02-23 13:26:37 +01:00
Alexander Soelberg Heidarsson
ae746c8b1d
bugfix: 🐛 remove invalid variable from cluster use dashboards
...
Signed-off-by: Alexander Soelberg Heidarsson <89837986+alex5517@users.noreply.github.com>
2025-02-20 08:25:48 +01:00
Mikel Olasagasti Uranga
7c69600661
build(deps): remove leftover from #3160 ( #3255 )
...
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2025-02-19 12:34:16 +01:00
Ben Kochie
8107c3f6c4
Fixup README formatting ( #3251 )
...
Remove formatting that doesn't render properly.
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-02-17 18:45:49 +01:00
Ben Kochie
d611fb2504
Update status badges
...
* Remove obsolete buildkite badge.
* Add GitHub actions workflow badges.
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-02-17 12:07:51 +01:00
Ben Kochie
02afa5c53c
Release v1.9.0 ( #3248 )
...
* [CHANGE] meminfo: Convert linux implementation to use procfs lib #3049
* [CHANGE] Update logging to use Go log/slog #3097
* [FEATURE] filesystem: Add `node_filesystem_mount_info` metric #2970
* [FEATURE] btrfs: Add metrics for commit statistics #3010
* [FEATURE] interrupts: Add collector include/exclude filtering #3028
* [FEATURE] interrupts: Add "exclude zeros" filtering #3028
* [FEATURE] slabinfo: Add filters for slab name. #3041
* [FEATURE] pressure: add IRQ PSI metrics #3048
* [FEATURE] hwmon: Add include and exclude filter for sensors #3072
* [FEATURE] filesystem: Add NetBSD support #3082
* [FEATURE] netdev: Add ifAlias label #3087
* [FEATURE] hwmon: Add Support for GPU Clock Frequencies #3093
* [FEATURE] Add `exclude[]` URL parameter #3116
* [FEATURE] Add AIX support #3136
* [FEATURE] filesystem: Add fs-types/mount-points include flags #3171
* [FEATURE] netstat: Add collector for tcp packet counters for FreeBSD. #3177
* [ENHANCEMENT] ethtool: Add logging for filtering flags #2979
* [ENHANCEMENT] netstat: Add TCPRcvQDrop to default metrics #3021
* [ENHANCEMENT] diskstats: Add block device rotational #3022
* [ENHANCEMENT] cpu: Support CPU online status #3032
* [ENHANCEMENT] arp: optimize interface name resolution #3133
* [ENHANCEMENT] textfile: Allow specifiying multiple directory globs #3135
* [ENHANCEMENT] filesystem: Add reporting of purgeable space on MacOS #3206
* [ENHANCEMENT] ethtool: Skip full scan of NetClass directories #3239
* [BUGFIX] zfs: Prevent `procfs` integer underflow #2961
* [BUGFIX] pressure: Fix collection on systems that do not expose a full CPU stat #3054
* [BUGFIX] cpu: Fix FreeBSD 32-bit host support and plug memory leak #3083
* [BUGFIX] hwmon: Add safety check to hwmon read #3134
* [BUGFIX] zfs: Allow space in dataset name #3186
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-02-17 08:08:51 +01:00
dependabot[bot]
4d2912d49a
build(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 ( #3247 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/sys/compare/v0.29.0...v0.30.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
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-02-16 16:21:59 +01:00
dependabot[bot]
8746b4e923
build(deps): bump github.com/safchain/ethtool from 0.5.9 to 0.5.10 ( #3245 )
...
Bumps [github.com/safchain/ethtool](https://github.com/safchain/ethtool ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/safchain/ethtool/releases )
- [Commits](https://github.com/safchain/ethtool/compare/v0.5.9...v0.5.10 )
---
updated-dependencies:
- dependency-name: github.com/safchain/ethtool
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-02-16 15:56:35 +01:00
dependabot[bot]
69817e0833
build(deps): bump github.com/prometheus/exporter-toolkit ( #3246 )
...
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit ) from 0.13.2 to 0.14.0.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases )
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.13.2...v0.14.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
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-02-16 12:04:24 +01:00
Tobias Nygren
cab75a8011
collector/cpu_netbsd: fix 32-bit host support and plug memory leak ( #3083 )
...
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-02-16 11:40:29 +01:00
v-zhuravlev
f252c4616a
Add NodeSystemdServiceCrashlooping alert to mixin ( #3039 )
...
* Add NodeSystemdServiceCrashlooping alert
---------
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
2025-02-16 11:05:46 +01:00
Will Jordan
edc40d1e0b
collector/ethtool: skip full scan of NetClass directories ( #3239 )
...
ethtool only uses the device names from `NetClassDevices()`,
not the whole NetClass data from `NetClass()`.
Improves ethtool collector performance on systems with lots of excluded devices.
Signed-off-by: Will Jordan <will.jordan@gmail.com>
2025-02-15 09:32:59 +01:00
Pranshu Srivastava
2f2113376f
chore: ignore/include metrics for FreeBSD ( #3242 )
...
* chore: ignore/include metrics for FreeBSD
Ignore non-deterministic metrics and include deterministic ones.
Use go123 for NetBSD from upstream release channel rather than the
package manager as that doesn't exist.
* https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0_2024Q4/All/
---------
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2025-02-15 09:31:59 +01:00
PrometheusBot
11365f97be
Update common Prometheus files ( #3240 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-02-09 09:23:10 +01:00
Pranshu Srivastava
5340ad60c0
fixup! fixup! fixup! chore: add xBSD pipelines
...
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2025-02-04 10:45:56 +01:00
Pranshu Srivastava
84ba99722c
fixup! fixup! chore: add xBSD pipelines
...
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2025-02-04 10:45:56 +01:00
Pranshu Srivastava
0cceb77065
fixup! chore: add xBSD pipelines
...
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2025-02-04 10:45:56 +01:00
Pranshu Srivastava
3430dcfab8
chore: add xBSD pipelines
...
For integration tests.
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
chore: support non-linux GOOS in e2e tests
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
chore: support e2e tests on freebsd
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
chore: support e2e tests on openbsd
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
chore: support e2e tests on netbsd
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
chore: support e2e tests on solaris
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
chore: support e2e tests on dragonfly
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
chore: drop support for e2e tests on solaris
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2025-02-04 10:45:56 +01:00
Ben Kochie
38f71f576c
Fix unused value ( #3236 )
...
Remove unused `queueDescs` value from diskstats collector.
Signed-off-by: Ben Kochie <superq@gmail.com>
2025-02-04 09:57:00 +01:00
Pranshu Srivastava
9889bcd757
collector/diskstats: add block device rotational ( #3022 )
...
* collector/diskstats: add block device rotational
Add metric to indicate if a device is rotational or not.
Fixes : #2956
---------
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2025-02-04 09:39:42 +01:00