dependabot[bot]
bb0a293eb2
build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Ben Kochie
591a6b2306
Merge pull request #2589 from prometheus/dependabot/go_modules/github.com/hodgesds/perf-utils-0.7.0
...
build(deps): bump github.com/hodgesds/perf-utils from 0.6.0 to 0.7.0
2 years ago
Ben Kochie
97ceada161
Merge pull request #2606 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2 years ago
prombot
36001d0bdf
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2 years ago
Ben Kochie
c8705ec4b2
Deprecate ntp collector
...
The ntp collector has always been a source of confusion and problems.
The data it produces is more of a blackbox probe against an NTP server.
The time sync / offset data produced is not what users expect.
Mark this collector as deprecated to be removed in v2.0.0
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Ben Kochie
7f05e312ac
Merge pull request #2584 from phyber/20230126-fix_freebsd_meminfo_user_wired_count
...
memory_bsd: Fix a problem fetching the user wire count on FreeBSD
2 years ago
dependabot[bot]
d586562934
build(deps): bump github.com/hodgesds/perf-utils from 0.6.0 to 0.7.0
...
Bumps [github.com/hodgesds/perf-utils](https://github.com/hodgesds/perf-utils ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/hodgesds/perf-utils/releases )
- [Commits](https://github.com/hodgesds/perf-utils/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: github.com/hodgesds/perf-utils
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Ben Kochie
3cd9b163e6
Optimize cpufreq collector
...
Move metric descriptiions to package vars to avoid allocating them every
time `NewCPUFreqCollector()` is called.
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
David O'Rourke
9232df7237
memory_bsd: Fix a problem fetching the user wire count on FreeBSD
...
Signed-off-by: David O'Rourke <david.orourke@gmail.com>
2 years ago
Ben Kochie
6a0598e563
Merge pull request #2570 from bsiegert/meminfo_netbsd
...
NetBSD support for the meminfo collector
2 years ago
Benny Siegert
131ff8a042
NetBSD support for the meminfo collector
...
This depends on a recent change to golang.org/x/sys that adds a
unix.SysctlUvmexp function.
Signed-off-by: Benny Siegert <bsiegert@gmail.com>
2 years ago
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