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
dependabot[bot]
b6b8288211
build(deps): bump github.com/prometheus/common from 0.61.0 to 0.62.0
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.61.0 to 0.62.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md )
- [Commits](https://github.com/prometheus/common/compare/v0.61.0...v0.62.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-02 11:55:05 +01:00
dependabot[bot]
b50b9e9830
build(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/sys/compare/v0.28.0...v0.29.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>
2025-02-02 11:54:53 +01:00
khafatech
e056e1b906
zfs: Allow space in dataset name ( #3186 )
...
* zfs: Allow space in dataset name
Signed-off-by: Mustafa Khafateh <m@khafateh.com>
* zfs: update fixture output for arm64
Signed-off-by: Mustafa Khafateh <m@khafateh.com>
* zfs: change pool3 name in fixture objsets
Signed-off-by: Mustafa Khafateh <m@khafateh.com>
* zfs: rename pool3 consistently in test case
Signed-off-by: Mustafa Khafateh <m@khafateh.com>
* zfs: Update amd64 e2e fixtures output
Signed-off-by: Mustafa Khafateh <m@khafateh.com>
---------
Signed-off-by: Mustafa Khafateh <m@khafateh.com>
2025-02-02 11:50:41 +01:00
K Rin
43dfdcea5c
Add collector for netstats tcp packet counters for FreeBSD. ( #3177 )
...
* Add collector for netstats tcp packet counters for FreeBSD.
Signed-off-by: K Rin <rin@sandb0x.tw>
* Update collector/netstat_freebsd.go to keep the naming convention
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: K Rin <sandb0x.tw0913@gmail.com>
---------
Signed-off-by: K Rin <rin@sandb0x.tw>
Signed-off-by: K Rin <sandb0x.tw0913@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2025-02-02 11:32:08 +01:00
Denis Fondras
963158df0a
Enable purgeable space reporting ( #3206 )
...
Signed-off-by: Denis <denis@jig-ai.ledeuns.net>
Co-authored-by: Denis <denis@jig-ai.ledeuns.net>
2025-02-02 11:16:00 +01:00
Vitaly Orlov
810510e12b
Export newUnameCollector function in uname.go ( #3227 )
...
Signed-off-by: Vitaly Orlov <orloff.v@gmail.com>
2025-01-25 20:52:46 +01:00
PrometheusBot
c46d1f23d0
Update common Prometheus files ( #3226 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-01-16 10:03:38 +01:00
Daniel Swarbrick
acdd9b813d
arp: optimize netlink interface name resolution ( #3133 )
...
github.com/jsimonetti/rtnetlink provides a high level rtnl wrapper
around the lower level rtnetlink functions, which essentially does all
that we need. The rtnl.Conn.Neighbors uses an internal cache for
resolving interface indexes to names, so it makes at most one rtnetlink
call per interface to resolve the name.
Using this high level wrapper hugely simplifies our code and makes it
easier to understand and maintain.
Fixes : #3075
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
2025-01-10 10:58:08 +01:00
Xuhui Zhu
8f9a914bee
add arm test
...
Signed-off-by: Xuhui Zhu <simon.zhu@canonical.com>
2025-01-02 12:56:17 +01:00
Xuhui Zhu
0c1af8dfe0
add test
...
Signed-off-by: Xuhui Zhu <simon.zhu@canonical.com>
2025-01-02 12:56:17 +01:00
Xuhui Zhu
89a21a9c4c
restruct code
...
Signed-off-by: Xuhui Zhu <simon.zhu@canonical.com>
2025-01-02 12:56:17 +01:00
Xuhui Zhu
6f3c345632
add gpu clk
...
Signed-off-by: Xuhui Zhu <simon.zhu@canonical.com>
2025-01-02 12:56:17 +01:00
dependabot[bot]
3ed9edfde7
build(deps): bump github.com/mdlayher/wifi from 0.3.0 to 0.3.1 ( #3219 )
...
Bumps [github.com/mdlayher/wifi](https://github.com/mdlayher/wifi ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/mdlayher/wifi/releases )
- [Commits](https://github.com/mdlayher/wifi/compare/v0.3.0...v0.3.1 )
---
updated-dependencies:
- dependency-name: github.com/mdlayher/wifi
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-01-01 18:08:28 +01:00
PrometheusBot
c3c8645923
Update common Prometheus files ( #3218 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-12-29 19:18:49 +01:00
Pranshu Srivastava
b8aac7c92e
collector/cpu: Support CPU online status
...
Blocked by: https://github.com/prometheus/procfs/pull/644 .
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2024-12-23 11:37:39 +01:00
Pranshu Srivastava
2b5cef3561
fix: address `master` issues
...
Sync dependencies and log using the machinery introduced in #3097 .
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2024-12-23 11:37:39 +01:00
liyang
505363a67d
chore: add instance label in NodeHighNumberConntrackEntriesUsed alert description
...
Signed-off-by: liyang <ly18846162402@163.com>
2024-12-23 11:25:05 +01:00
Duologic
2fccdf4e17
fix(docs): add node(Warning|Critical)WindowHours to node-mixin
...
Signed-off-by: Duologic <jeroen@simplistic.be>
2024-12-23 11:24:50 +01:00
Tom
d0c1d00d18
Migrate dashboards to new grafonnet library ( #3147 )
...
Migrated away from deprecated Grafonnet library. This replaces panels using Angular JS which are disabled by default in Grafana 11 and will be unsupported in Grafana 12.
Fixes #3046
---------
Signed-off-by: Tom <12222103+critchtionary@users.noreply.github.com>
2024-12-19 16:49:22 +01:00
Ben Kochie
ff97e35a71
Enable goimports linter
...
Enable `goimports` golangci-lint linter and fix issues.
Signed-off-by: Ben Kochie <superq@gmail.com>
2024-12-19 14:46:58 +01:00
dependabot[bot]
983e6345d5
build(deps): bump github.com/prometheus/exporter-toolkit ( #3211 )
...
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit ) from 0.13.1 to 0.13.2.
- [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.1...v0.13.2 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
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>
2024-12-17 18:22:08 +01:00
Jan Breitkopf
a38a5d7b48
alerts: exclude iowait from NodeCPUHighUsage alert ( #3203 )
...
Signed-off-by: Jan Breitkopf <jan.breitkopf@prorocketeers.com>
2024-12-17 14:11:26 +01:00
dependabot[bot]
2604d19246
build(deps): bump github.com/safchain/ethtool from 0.4.1 to 0.5.9 ( #3195 )
...
Bumps [github.com/safchain/ethtool](https://github.com/safchain/ethtool ) from 0.4.1 to 0.5.9.
- [Release notes](https://github.com/safchain/ethtool/releases )
- [Commits](https://github.com/safchain/ethtool/compare/v0.4.1...v0.5.9 )
---
updated-dependencies:
- dependency-name: github.com/safchain/ethtool
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>
2024-12-17 14:04:22 +01:00
Ben Kochie
226c80c83c
Add filesystem include flags
...
Add support for allow lists of filesystem mount points and filesystem
types. This allows for less messy regexps when you want to target only
specific lists of mount points or filesystem types.
Signed-off-by: Ben Kochie <superq@gmail.com>
2024-12-14 14:14:54 +01:00
PrometheusBot
cf8c6891cc
Update common Prometheus files ( #3188 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-11-26 12:17:19 +01:00
PrometheusBot
49d177bf95
Update common Prometheus files ( #3182 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-11-12 19:21:23 +01:00
PrometheusBot
a7b403a484
Update common Prometheus files ( #3181 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-11-11 19:13:13 +01:00
dependabot[bot]
5122c7cc37
build(deps): bump github.com/prometheus/exporter-toolkit ( #3168 )
...
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit ) from 0.13.0 to 0.13.1.
- [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.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
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>
2024-11-11 08:45:18 +01:00
PrometheusBot
c29cb9181b
Update common Prometheus files ( #3173 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-11-11 08:44:55 +01:00
mknapphrt
0fddfd1ba5
Cache metricsfamily help text ( #3175 )
...
Signed-off-by: Mark Knapp <mknapp@hudson-trading.com>
2024-11-07 21:46:38 +01:00
dependabot[bot]
07ee8efaa4
build(deps): bump github.com/prometheus/common from 0.60.0 to 0.60.1
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.60.0 to 0.60.1.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md )
- [Commits](https://github.com/prometheus/common/compare/v0.60.0...v0.60.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 08:48:24 +00:00
dependabot[bot]
957fc53748
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.4 to 1.20.5.
- [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.4...v1.20.5 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 08:48:10 +00:00
dependabot[bot]
0a7582f7c2
build(deps): bump golang.org/x/sys from 0.25.0 to 0.26.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/sys/compare/v0.25.0...v0.26.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>
2024-11-02 08:48:02 +00:00
dependabot[bot]
22e1b18f2e
build(deps): bump github.com/opencontainers/selinux
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.11.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 08:47:55 +00:00
prombot
f35a592dd6
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-10-24 12:36:11 +02:00
PrometheusBot
e6a9cfbdcd
Update common Prometheus files ( #3144 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-10-08 14:39:30 +02:00
dependabot[bot]
e647b99231
build(deps): bump github.com/mdlayher/wifi from 0.2.0 to 0.3.0 ( #3140 )
...
Bumps [github.com/mdlayher/wifi](https://github.com/mdlayher/wifi ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/mdlayher/wifi/releases )
- [Commits](https://github.com/mdlayher/wifi/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: github.com/mdlayher/wifi
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>
2024-10-08 14:39:19 +02:00
dependabot[bot]
04db3ea7ea
build(deps): bump github.com/prometheus/common from 0.59.1 to 0.60.0
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.59.1 to 0.60.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md )
- [Commits](https://github.com/prometheus/common/compare/v0.59.1...v0.60.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 10:54:34 +02:00
Ben Kochie
1b332edfe8
Fix: Add safety check to hwmon read
...
Avoid panic for accessing slice out of range in hwmon.
Fixes: https://github.com/prometheus/node_exporter/issues/3108
Signed-off-by: Ben Kochie <superq@gmail.com>
2024-09-30 15:29:38 +02:00
Daniel Swarbrick
ebf3cbfbb3
zfs: drop superfluous typecasting of test values
...
Drop superfluous and overly pedantic typecasting for values that fit
within 32 bits or where type comparison is already hinted.
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
2024-09-30 14:52:38 +02:00