Commit graph

2216 commits

Author SHA1 Message Date
Ben Kochie 2f20a9bb3c
Merge pull request #2603 from prometheus/superq/deprecate_ntp
Deprecate ntp collector
2023-03-07 17:37:19 +01:00
Ben Kochie c42d046564
Merge pull request #2622 from prometheus/superq/update_exporter-toolkit
Update exporter-toolkit
2023-03-07 17:36:08 +01:00
Ben Kochie c23b76bfbb
Update exporter-toolkit
* Bump exporter-toolkit to the latest release.
* Use new toolkit landing page function.
* Update kingpin flags.

Signed-off-by: Ben Kochie <superq@gmail.com>
2023-03-07 15:18:38 +01:00
dependabot[bot] 4a780126c6 build(deps): bump golang.org/x/sys from 0.5.0 to 0.6.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/compare/v0.5.0...v0.6.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>
2023-03-07 14:27:44 +01:00
dependabot[bot] 4a85756062 build(deps): bump github.com/opencontainers/selinux
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.10.2 to 1.11.0.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.10.2...v1.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 14:18:29 +01:00
dependabot[bot] 1026cac532 build(deps): bump github.com/jsimonetti/rtnetlink from 1.3.0 to 1.3.1
Bumps [github.com/jsimonetti/rtnetlink](https://github.com/jsimonetti/rtnetlink) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/jsimonetti/rtnetlink/releases)
- [Commits](https://github.com/jsimonetti/rtnetlink/compare/v1.3.0...v1.3.1)

---
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>
2023-03-07 14:18:18 +01:00
Haoyu Sun 37d49746bc Remove metrics of offline CPUs in CPU collector
Signed-off-by: Haoyu Sun <hasun@redhat.com>
2023-03-07 14:01:02 +01:00
Ben Kochie c914f00526
Merge pull request #2587 from prometheus/superq/cpufreq_common
Optimize cpufreq collector
2023-02-25 20:18:24 +01:00
Ben Kochie 9658b8768b
Merge pull request #2610 from prometheus/dependabot/go_modules/golang.org/x/net-0.7.0
build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0
2023-02-25 18:40:28 +01:00
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>
2023-02-25 10:19:55 +00:00
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
2023-02-25 11:19:16 +01:00
Ben Kochie 97ceada161
Merge pull request #2606 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2023-02-20 19:44:05 +01:00
prombot 36001d0bdf Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-02-20 17:48:40 +00:00
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>
2023-02-16 09:27:38 +01:00
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
2023-02-13 16:33:40 +01:00
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>
2023-02-01 16:03:52 +00:00
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>
2023-01-28 11:42:02 +01:00
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>
2023-01-26 02:55:32 +00:00
Ben Kochie 6a0598e563
Merge pull request #2570 from bsiegert/meminfo_netbsd
NetBSD support for the meminfo collector
2023-01-24 18:18:46 +01:00
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>
2023-01-23 16:54:35 +00:00
Ben Kochie 5bc8e9e28f
Merge pull request #2580 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2023-01-20 19:57:47 +01:00
prombot ff79170fe4 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-01-20 17:48:24 +00:00
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
2023-01-20 10:52:00 +01:00
Ben Kochie 2d77d8c562
Update e2e output for new common version.
Signed-off-by: Ben Kochie <superq@gmail.com>
2023-01-20 10:38:19 +01:00
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>
2023-01-20 09:17:02 +00:00
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
2023-01-20 10:15:07 +01:00
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
2023-01-20 10:14:24 +01:00
Ben Kochie 93a7f70c84
Merge pull request #2318 from alexjx/topic/pick-up-new-procfs
fix cpustat when some cpus are offline
2023-01-20 10:12:55 +01:00
Jia Xin 39b4556b5b fix cpustat when some cpus are offline
Signed-off-by: Jia Xin <alexjx@gmail.com>
2023-01-20 01:24:06 +00:00
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>
2023-01-01 16:02:17 +00:00
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>
2023-01-01 16:02:04 +00:00
Ben Kochie a3bd2e1305
Merge pull request #2559 from bsiegert/netbsd-uname
Enable uname collector on NetBSD too
2022-12-31 13:03:41 +01:00
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>
2022-12-31 12:02:00 +01:00
Ben Kochie b9eef570d5
Merge pull request #2554 from prometheus/superq/fix_thermal_missing
Fix thermal_zone collector noise
2022-12-29 14:27:13 +01:00
prombot d647e2a01b Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2022-12-29 11:20:41 +01:00
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>
2022-12-22 12:30:20 +01:00
Ben Kochie 4484f18566
Merge pull request #2542 from mchtech/add-perf-profiler-options
Add profiler options for perf collector
2022-12-22 10:29:03 +01:00
Ben Kochie edc33af8ed
Merge pull request #2553 from hodgesds/perf-bump
Bump perf-utils version to 0.6.0
2022-12-22 10:23:08 +01:00
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>
2022-12-21 20:57:17 -05:00
jalev 22e5dd2f0d Fix lint issues
Signed-off-by: jalev <qweet.ing@gmail.com>
2022-12-18 14:49:53 +01:00
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>
2022-12-18 14:49:53 +01:00
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>
2022-12-18 14:49:53 +01:00
prombot da08a2959f Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2022-12-13 13:46:20 +01:00
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>
2022-12-13 13:36:44 +01:00
Ryan J. Geyer 5e552bac02 Replace mistaken ) with }, resulting in parsable promql
Signed-off-by: Ryan J. Geyer <me@ryangeyer.com>
2022-12-13 13:30:42 +01:00
Ben Kochie 8cbe5cda8b
Merge pull request #2543 from adeptg/master
fix the docker link in the ISSUE_TEMPLATE
2022-12-08 08:26:18 +01:00
Yury Vidineev 56554f3a8a fix the docker link in the ISSUE_TEMPLATE
Signed-off-by: Yury Vidineev <adeptg@gmail.com>
2022-12-07 16:11:28 -08:00
mchtech f934f9cb0f add options for perf profilers
Signed-off-by: mchtech <michu_an@126.com>
2022-12-07 12:52:46 +08:00
Ben Kochie 9869d34a24
Merge pull request #2537 from simonpasquier/log-current-gomaxprocs
Log current value of GOMAXPROCS
2022-11-30 09:53:39 -08:00
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>
2022-11-30 17:16:49 +01:00