Matthias Petermann
b87c6a8826
NetBSD support for CPU collector ( #2626 )
...
* Added CPU collector for NetBSD to provide load and temperature statistics
---------
Signed-off-by: Matthias Petermann <mp@petermann-it.de>
2 years ago
dependabot[bot]
5095df7df6
build(deps): bump github.com/prometheus/common from 0.41.0 to 0.42.0
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.41.0...v0.42.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
dependabot[bot]
d8d6f32b13
build(deps): bump github.com/safchain/ethtool from 0.2.0 to 0.3.0
...
Bumps [github.com/safchain/ethtool](https://github.com/safchain/ethtool ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/safchain/ethtool/releases )
- [Commits](https://github.com/safchain/ethtool/compare/v0.2.0...v0.3.0 )
---
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>
2 years ago
Marcus Cobden
ec8f58009f
Reduce priviliges needed for btrfs device stats
...
Signed-off-by: Marcus Cobden <leth@users.noreply.github.com>
2 years ago
Ben Kochie
bb5ecb73d7
Merge pull request #2627 from prometheus/superq/bump_toolkit
...
Bump exporter-toolkit
2 years ago
Ben Kochie
3691cb9faf
Update build
...
* Update Go to 1.20
* Update golangci-lint.
* Update CI orb.
* Fix staticcheck issue in perf collector.
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Ben Kochie
b4133c22ce
Bump exporter-toolkit
...
Pick up the fixes for 32-bit mode and updated HTML template.
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
Haoyu Sun
37d49746bc
Remove metrics of offline CPUs in CPU collector
...
Signed-off-by: Haoyu Sun <hasun@redhat.com>
2 years ago
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
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
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
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
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
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
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
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
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
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
Jason Culligan
e1d9172fb6
Bump crypto and net CVE-2022-27191 CVE-2022-27664 ( #2488 )
...
* Bump crypto and net CVE-2022-27191 CVE-2022-27664
Signed-off-by: Jason Culligan <jason.culligan@intel.com>
2 years ago
Ben Kochie
7da1321761
Release 1.4.0 ( #2478 )
...
* [CHANGE] Merge metrics descriptions in textfile collector #2475
* [FEATURE] [node-mixin] Add darwin dashboard to mixin #2351
* [FEATURE] Add "isolated" metric on cpu collector on linux #2251
* [FEATURE] Add cgroup summary collector #2408
* [FEATURE] Add selinux collector #2205
* [FEATURE] Add slab info collector #2376
* [FEATURE] Add sysctl collector #2425
* [FEATURE] Also track the CPU Spin time for OpenBSD systems #1971
* [FEATURE] Add support for MacOS version #2471
* [ENHANCEMENT] [node-mixin] Add missing selectors #2426
* [ENHANCEMENT] [node-mixin] Change current datasource to grafana's default #2281
* [ENHANCEMENT] [node-mixin] Change disk graph to disk table #2364
* [ENHANCEMENT] [node-mixin] Change io time units to %util #2375
* [ENHANCEMENT] Ad user_wired_bytes and laundry_bytes on *bsd #2266
* [ENHANCEMENT] Add additional vm_stat memory metrics for darwin #2240
* [ENHANCEMENT] Add device filter flags to arp collector #2254
* [ENHANCEMENT] Add diskstats include and exclude device flags #2417
* [ENHANCEMENT] Add node_softirqs_total metric #2221
* [ENHANCEMENT] Add rapl zone name label option #2401
* [ENHANCEMENT] Add slabinfo collector #1799
* [ENHANCEMENT] Allow user to select port on NTP server to query #2270
* [ENHANCEMENT] collector/diskstats: Add labels and metrics from udev #2404
* [ENHANCEMENT] Enable builds against older macOS SDK #2327
* [ENHANCEMENT] qdisk-linux: Add exclude and include flags for interface name #2432
* [ENHANCEMENT] systemd: Expose systemd minor version #2282
* [ENHANCEMENT] Use netlink for tcpstat collector #2322
* [ENHANCEMENT] Use netlink to get netdev stats #2074
* [ENHANCEMENT] Add additional perf counters for stalled frontend/backend cycles #2191
* [ENHANCEMENT] Add btrfs device error stats #2193
* [BUGFIX] [node-mixin] Fix fsSpaceAvailableCriticalThreshold and fsSpaceAvailableWarning #2352
* [BUGFIX] Fix concurrency issue in ethtool collector #2289
* [BUGFIX] Fix concurrency issue in netdev collector #2267
* [BUGFIX] Fix diskstat reads and write metrics for disks with different sector sizes #2311
* [BUGFIX] Fix iostat on macos broken by deprecation warning #2292
* [BUGFIX] Fix NodeFileDescriptorLimit alerts #2340
* [BUGFIX] Sanitize rapl zone names #2299
* [BUGFIX] Add file descriptor close safely in test #2447
* [BUGFIX] Fix race condition in os_release.go #2454
* [BUGFIX] Skip ZFS IO metrics if their paths are missing #2451
Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Marcus Cobden
135710d8b5
Add btrfs device error stats ( #2193 )
...
* Improve metrics filesystem scanning logic
* Makes ioctl syscalls to load the device error stats.
* Adds filesystem mountpoint labels to existing metrics for ease of use.
Signed-off-by: Marcus Cobden <leth@users.noreply.github.com>
2 years ago
dependabot[bot]
4ad86b349b
build(deps): bump github.com/prometheus/client_golang ( #2460 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.12.2 to 1.13.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.12.2...v1.13.0 )
---
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>
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]
4527f534b5
build(deps): bump github.com/jsimonetti/rtnetlink from 1.2.0 to 1.2.2 ( #2459 )
...
Bumps [github.com/jsimonetti/rtnetlink](https://github.com/jsimonetti/rtnetlink ) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/jsimonetti/rtnetlink/releases )
- [Commits](https://github.com/jsimonetti/rtnetlink/compare/v1.2.0...v1.2.2 )
---
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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Ben Kochie
5d6738e6c5
Update procfs
...
Update to latet procfs release.
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Johannes 'fish' Ziemke
d962e48ca2
Add sysctl collector
...
Signed-off-by: Johannes Ziemke <github@5pi.de>
2 years ago
Jonathan Davies
88f1811eb1
Add selinux collector ( #2205 )
...
Add selinux collector
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
2 years ago
dependabot[bot]
b99f933713
Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2 ( #2411 )
...
* Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.12.1 to 1.12.2.
- [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.12.1...v1.12.2 )
---
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>
* Update fixtures for client_golang 1.12.2.
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>
2 years ago
dependabot[bot]
a94de92e7d
Bump github.com/jsimonetti/rtnetlink from 1.1.1 to 1.2.0 ( #2413 )
...
Bumps [github.com/jsimonetti/rtnetlink](https://github.com/jsimonetti/rtnetlink ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/jsimonetti/rtnetlink/releases )
- [Commits](https://github.com/jsimonetti/rtnetlink/compare/v1.1.1...v1.2.0 )
---
updated-dependencies:
- dependency-name: github.com/jsimonetti/rtnetlink
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>
2 years ago
dependabot[bot]
26e377dfd5
Bump github.com/go-kit/log from 0.2.0 to 0.2.1 ( #2412 )
...
Bumps [github.com/go-kit/log](https://github.com/go-kit/log ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/go-kit/log/releases )
- [Commits](https://github.com/go-kit/log/compare/v0.2.0...v0.2.1 )
---
updated-dependencies:
- dependency-name: github.com/go-kit/log
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>
2 years ago
dependabot[bot]
504c820881
Bump github.com/prometheus/common from 0.33.0 to 0.35.0 ( #2410 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.33.0 to 0.35.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.33.0...v0.35.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Kobe Biello
45c75f1dbc
Add cgroup summary collector ( #2408 )
...
* add cgroups summary collector
Signed-off-by: biello <bellusa@qq.com>
Co-authored-by: bielu <bielu@zuoyebang.com>
2 years ago
Ben Kochie
9354e37203
Update build
...
* Update build to Go 1.18.
* Update minimum version to 1.17.
* Update machine image to latest.
* Enable dependabot.
* Simplify build in readme.
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
Manuel Rüger
21f9ce2c49
go.mod: Update coreos/go-systemd
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
3 years ago
Fionera
9ece38fca9
refactor: Use netlink for tcpstat collector
...
Signed-off-by: Tim Windelschmidt <t.windelschmidt@babiel.com>
3 years ago
Ben Kochie
9155971e07
Update Go modues
...
Update to latest releases.
* Fix up perf collector syntax.
Signed-off-by: Ben Kochie <superq@gmail.com>
3 years ago
Public Profile
df16f0e8bd
iostat: update due to visible deprecated warning on osx
...
Signed-off-by: Public <latchkey@gmail.com>
Signed-off-by: Public Profile <latchkey@gmail.com>
3 years ago