Ben Kochie
5bc8e9e28f
Merge pull request #2580 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2 years ago
prombot
ff79170fe4
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2 years ago
Ben Kochie
aaf7f583f6
Merge pull request #2563 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.39.0
...
build(deps): bump github.com/prometheus/common from 0.37.0 to 0.39.0
2 years ago
Ben Kochie
2d77d8c562
Update e2e output for new common version.
...
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
dependabot[bot]
10a944efb9
build(deps): bump github.com/prometheus/common from 0.37.0 to 0.39.0
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.37.0 to 0.39.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.37.0...v0.39.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>
2 years ago
Ben Kochie
2ae17acf5b
Merge pull request #2562 from prometheus/dependabot/go_modules/github.com/mdlayher/netlink-1.7.1
...
build(deps): bump github.com/mdlayher/netlink from 1.7.0 to 1.7.1
2 years ago
Ben Kochie
2739c79c85
Merge pull request #2564 from prometheus/dependabot/go_modules/github.com/josharian/native-1.1.0
...
build(deps): bump github.com/josharian/native from 1.0.0 to 1.1.0
2 years ago
Ben Kochie
93a7f70c84
Merge pull request #2318 from alexjx/topic/pick-up-new-procfs
...
fix cpustat when some cpus are offline
2 years ago
Jia Xin
39b4556b5b
fix cpustat when some cpus are offline
...
Signed-off-by: Jia Xin <alexjx@gmail.com>
2 years ago
dependabot[bot]
f9a4d04c00
build(deps): bump github.com/josharian/native from 1.0.0 to 1.1.0
...
Bumps [github.com/josharian/native](https://github.com/josharian/native ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/josharian/native/releases )
- [Commits](https://github.com/josharian/native/compare/v1.0.0...v1.1.0 )
---
updated-dependencies:
- dependency-name: github.com/josharian/native
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
feaa2a7927
build(deps): bump github.com/mdlayher/netlink from 1.7.0 to 1.7.1
...
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink ) from 1.7.0 to 1.7.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.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Ben Kochie
a3bd2e1305
Merge pull request #2559 from bsiegert/netbsd-uname
...
Enable uname collector on NetBSD too
2 years ago
Benny Siegert
701912b5e7
Enable uname collector on NetBSD too
...
This collector works just fine without any further changes.
Signed-off-by: Benny Siegert <bsiegert@gmail.com>
2 years ago
Ben Kochie
b9eef570d5
Merge pull request #2554 from prometheus/superq/fix_thermal_missing
...
Fix thermal_zone collector noise
2 years ago
prombot
d647e2a01b
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2 years ago
Ben Kochie
efa7f24698
Fix thermal_zone collector noise
...
Add a check for missing/unreadable thermal zone stats and ignore if not
availlable.
Fixes: https://github.com/prometheus/node_exporter/issues/2552
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Ben Kochie
4484f18566
Merge pull request #2542 from mchtech/add-perf-profiler-options
...
Add profiler options for perf collector
2 years ago
Ben Kochie
edc33af8ed
Merge pull request #2553 from hodgesds/perf-bump
...
Bump perf-utils version to 0.6.0
2 years ago
Daniel Hodges
b5259fe16f
Bump perf-utils version to 0.6.0
...
This change updates the perf-utils library to 0.6.0 which has some fixes
for automatically detecting the correct tracefs mountpoint if available.
Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
2 years ago
jalev
22e5dd2f0d
Fix lint issues
...
Signed-off-by: jalev <qweet.ing@gmail.com>
2 years ago
James Bach
a177412d06
Change var name to match previous
...
Signed-off-by: James Bach <james.bach@wise.com>
Signed-off-by: jalev <qweet.ing@gmail.com>
2 years ago
James Bach
5538773089
Migrate arp_linux.go to procfs
...
Signed-off-by: James Bach <qweet.ing@gmail.com>
Signed-off-by: James Bach <james.bach@wise.com>
Signed-off-by: jalev <qweet.ing@gmail.com>
2 years ago
prombot
da08a2959f
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2 years ago
Ben Kochie
1e82c57931
Update v1.5.0 release notes
...
Add note about the change to the experimental web flag.
Fixes: https://github.com/prometheus/node_exporter/issues/2535
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Ryan J. Geyer
5e552bac02
Replace mistaken ) with }, resulting in parsable promql
...
Signed-off-by: Ryan J. Geyer <me@ryangeyer.com>
2 years ago
Ben Kochie
8cbe5cda8b
Merge pull request #2543 from adeptg/master
...
fix the docker link in the ISSUE_TEMPLATE
2 years ago
Yury Vidineev
56554f3a8a
fix the docker link in the ISSUE_TEMPLATE
...
Signed-off-by: Yury Vidineev <adeptg@gmail.com>
2 years ago
mchtech
f934f9cb0f
add options for perf profilers
...
Signed-off-by: mchtech <michu_an@126.com>
2 years ago
Ben Kochie
9869d34a24
Merge pull request #2537 from simonpasquier/log-current-gomaxprocs
...
Log current value of GOMAXPROCS
2 years ago
Simon Pasquier
2d05f2e0c3
Log current value of GOMAXPROCS
...
With `--runtime.gomaxprocs=0`, the GOMAXPROXS value will default to the
number of logical CPUs. In this case, it is more useful to log the
actual value than the value set by the user via the command-line.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2 years ago
Ben Kochie
219744f97d
Merge pull request #2534 from frebib/frebib/web.config.file
...
Correct documentation for --web.config.file flag
2 years ago
Joe Groocock
a5df170905
Correct documentation for --web.config.file flag
...
The --web.config flag changed to --web.config.file in
440a132c38
and was realised in the recent
v1.5.0 release.
Signed-off-by: Joe Groocock <me@frebib.net>
2 years ago
Ben Kochie
1b48970ffc
Merge pull request #2532 from prometheus/superq/1.5.0
...
Release v1.5.0
2 years ago
Ben Kochie
3db05cfb3d
Release v1.5.0
...
NOTE: This changes the Go runtime "GOMAXPROCS" to 1. This is done to limit the
concurrency of the exporter to 1 CPU thread at a time in order to avoid a
race condition problem in the Linux kernel (#2500 ) and parallel IO issues
on nodes with high numbers of CPUs/CPU threads (#1880 ).
* [CHANGE] Default GOMAXPROCS to 1 #2530
* [FEATURE] Add multiple listeners and systemd socket listener activation #2393
* [ENHANCEMENT] Add RTNL version of netclass collector #2492 , #2528
* [BUGFIX] Fix diskstats exclude flags #2487
* [BUGFIX] Bump go/x/crypt and go/x/net #2488
* [BUGFIX] Fix hwmon label sanitizer #2504
* [BUGFIX] Use native endianness when encoding InetDiagMsg #2508
* [BUGFIX] Fix btrfs device stats always being zero #2516
* [BUGFIX] Security: Update exporter-toolkit (CVE-2022-46146) #2531
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Ben Kochie
8ece6336d9
Bump Go modules ( #2531 )
...
* Update all Go modules to latest.
* Update Go minimum version to 1.18.
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Ben Kochie
fb26b9fc72
Default GOMAXPROCS to 1 ( #2530 )
...
Avoid running on all CPUs by limiting the Go runtime to one CPU by
default. Avoids having Go routines schedule on every CPU, driving up the
visible run queue length on high CPU count systems.
This also helps workaround a kernel deadlock issue with reading from
sysfs concurrently.
See:
* https://github.com/prometheus/node_exporter/issues/1880
* https://github.com/prometheus/node_exporter/issues/2500
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Ben Kochie
13a5cc1f74
Refactor netclass_rtnl collector ( #2528 )
...
* Refactor netclass_rtnl collector
Merge the netclass_rtnl collector into the netclass collector.
* Disabled by default
* Followup to #2492
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
manu
956a3f8d47
update to golang.org/x/sys v0.1.0 ( #2524 )
...
Signed-off-by: Manuel Stausberg <stausberg@denic.de>
2 years ago
SUN Haoyu
bba0e2e557
add RTNL version of netclass collector ( #2492 )
...
* update rtnetlink package to v1.2.3
* add RTNL version of netclass collector that have all the metrics that netdev collector provides, too.
Signed-off-by: Haoyu Sun <hasun@redhat.com>
2 years ago
Sabart Otto
26e82af8a2
readme: remove RHEL/CentOS/Fedora installation info ( #2525 )
...
Copr community prometheus-exporters repository is obsoleted.
Signed-off-by: Otto Sabart <seberm@seberm.com>
Signed-off-by: Otto Sabart <seberm@seberm.com>
2 years ago
Marcus Cobden
936368d217
Fix btrfs device stats always being zero ( #2516 )
...
* Respect rootfs path config option in btrfs ioctl
* Fix btrfs device stats always being zero
Signed-off-by: Marcus Cobden <leth@users.noreply.github.com>
2 years ago
dependabot[bot]
fd14fb04c7
build(deps): bump github.com/jsimonetti/rtnetlink from 1.2.2 to 1.2.3
...
Bumps [github.com/jsimonetti/rtnetlink](https://github.com/jsimonetti/rtnetlink ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/jsimonetti/rtnetlink/releases )
- [Commits](https://github.com/jsimonetti/rtnetlink/compare/v1.2.2...v1.2.3 )
---
updated-dependencies:
- dependency-name: github.com/jsimonetti/rtnetlink
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
fb5229e3b1
build(deps): bump github.com/prometheus/client_model from 0.2.0 to 0.3.0
...
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/prometheus/client_model/releases )
- [Commits](https://github.com/prometheus/client_model/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_model
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Ben Kochie
ba8c043079
Add procfs fallback to netdev collector ( #2509 )
...
Some systems have broken netlink messages due to patched kernels. Since
these messages can not be parsed, add a flag to fall back to parsing
from `/proc/net/dev`.
Fixes: https://github.com/prometheus/node_exporter/issues/2502
Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Perry Naseck
440a132c38
Add multiple listeners and systemd socket listener activation ( #2393 )
...
Update exporter-toolkit to v0.8.1 to enable new listener support.
Signed-off-by: Perry Naseck <git@perrynaseck.com>
2 years ago
Daniel Swarbrick
34a498e132
Use native endianness when encoding InetDiagMsg ( #2508 )
...
Note however that the InetDiagMsg struct contains a InetDiagSockID
member, which itself contains some members which are explicitly
specified as big-endian in Linux kernel source:
struct inet_diag_sockid {
__be16 idiag_sport;
__be16 idiag_dport;
__be32 idiag_src[4];
__be32 idiag_dst[4];
__u32 idiag_if;
__u32 idiag_cookie[2];
};
node_exporter currently does not use these members for anything, so this
is acceptable (for now).
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
2 years ago
Jan Fajerski
87b8e3790d
docs/node-mixin: add fsMointpointSelector to alerts and dashboards ( #2446 )
...
* docs/node-mixin: add fsMountpointSelector
This adds the option to add a `mountpoint` selector to filesystem
related alerts. The default is `mountpoint!=""`.
* docs/node-mixins: add fsMountpointSelector to dashboards
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2 years ago
dependabot[bot]
385cb1922c
build(deps): bump github.com/coreos/go-systemd/v22 from 22.3.2 to 22.4.0 ( #2493 )
...
Bumps [github.com/coreos/go-systemd/v22](https://github.com/coreos/go-systemd ) from 22.3.2 to 22.4.0.
- [Release notes](https://github.com/coreos/go-systemd/releases )
- [Commits](https://github.com/coreos/go-systemd/compare/v22.3.2...v22.4.0 )
---
updated-dependencies:
- dependency-name: github.com/coreos/go-systemd/v22
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
bb63f4f616
build(deps): bump github.com/mdlayher/netlink from 1.6.0 to 1.6.2
...
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink ) from 1.6.0 to 1.6.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.6.0...v1.6.2 )
---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
ebb8a667ec
build(deps): bump github.com/opencontainers/selinux
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.10.1...v1.10.2 )
---
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>
2 years ago