Anton Lugovoi
81fc05c45f
Make filesystem space prediction window configurable ( #2844 )
...
Signed-off-by: fitz123 <alugovoi@ordercapital.com>
1 year ago
Ayoub NASR
7333465abf
Add NodeBondingDegraded alert ( #2843 )
...
Signed-off-by: Ayoub Nasr <ayoub.nasr@scality.com>
1 year ago
Ben Kochie
74ff1c6937
Release 1.7.0 ( #2845 )
...
* [FEATURE] Add ZFS freebsd per dataset stats #2753
* [FEATURE] Add cpu vulnerabilities reporting from sysfs #2721
* [ENHANCEMENT] Parallelize stat calls in Linux filesystem collector #1772
* [ENHANCEMENT] Add missing linkspeeds to ethtool collector 2711
* [ENHANCEMENT] Add CPU MHz as the value for `node_cpu_info` metric #2778
* [ENHANCEMENT] Improve qdisc collector performance #2779
* [ENHANCEMENT] Add include and exclude filter for hwmon collector #2699
* [ENHANCEMENT] Optionally fetch ARP stats via rtnetlink instead of procfs #2777
* [BUFFIX] Fix ZFS arcstats on FreeBSD 14.0+ 2754
* [BUGFIX] Fallback to 32-bit stats in netdev #2757
* [BUGFIX] Close btrfs.FS handle after use #2780
* [BUGFIX] Move RO status before error return #2807
* [BUFFIX] Fix `promhttp_metric_handler_errors_total` being always active #2808
* [BUGFIX] Fix nfsd v4 index miss #2824
Signed-off-by: Ben Kochie <superq@gmail.com>
1 year ago
dependabot[bot]
ed1b8e3d88
build(deps): bump github.com/prometheus/client_model ( #2838 )
...
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model ) from 0.4.1-0.20230718164431-9a2bf3000d16 to 0.5.0.
- [Release notes](https://github.com/prometheus/client_model/releases )
- [Commits](https://github.com/prometheus/client_model/commits/v0.5.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
5ffc733af3
build(deps): bump github.com/prometheus/common from 0.44.0 to 0.45.0 ( #2837 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.44.0 to 0.45.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.44.0...v0.45.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>
1 year ago
PrometheusBot
47ccad51df
Update common Prometheus files ( #2840 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
1 year ago
nemobis
d39e5aa48d
Fix typo in CHANGELOG.md ( #2836 )
...
Use # consistently for PR number.
Signed-off-by: nemobis <federicoleva@tiscali.it>
1 year ago
joey
6122cee47a
fix readme about expose memory statistics
...
Signed-off-by: joey <zchengjoey@gmail.com>
1 year ago
dongjiang
86ed8cdc6b
NFSd: fix nfsd v4 index miss ( #2824 )
...
* fix nfsd v4 index miss
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
1 year ago
Ben Kochie
0f6a4d8c39
Merge pull request #2808 from ToMe25/fix_error_total_disabling
...
Fix promhttp_metric_handler_errors_total being always active
1 year ago
Ben Kochie
63844996e8
Merge pull request #2816 from prometheus/dependabot/go_modules/github.com/prometheus/procfs-0.12.0
...
build(deps): bump github.com/prometheus/procfs from 0.11.1 to 0.12.0
1 year ago
Ben Kochie
31a9cca551
Update e2e fixtures
...
Update for fixes in https://github.com/prometheus/procfs/pull/543
Signed-off-by: Ben Kochie <superq@gmail.com>
1 year ago
dependabot[bot]
fd799e4287
build(deps): bump github.com/prometheus/procfs from 0.11.1 to 0.12.0
...
Bumps [github.com/prometheus/procfs](https://github.com/prometheus/procfs ) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/prometheus/procfs/releases )
- [Commits](https://github.com/prometheus/procfs/compare/v0.11.1...v0.12.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/procfs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
d108e55b17
build(deps): bump golang.org/x/net from 0.11.0 to 0.17.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.11.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.11.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
prombot
d52c047abb
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
1 year ago
yang-stressfree
7dd2f0dc4f
Update README.md: update the 'more details' url in the section 'TLS endpoint' ( #2814 )
...
* Update README.md: correct the wrong url(link to exporter-toolkit web-config) in the section 'TLS endpoint'
Signed-off-by: yang-stressfree <68363665+yang-stressfree@users.noreply.github.com>
* Update README.md
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: yang-stressfree <68363665+yang-stressfree@users.noreply.github.com>
---------
Signed-off-by: yang-stressfree <68363665+yang-stressfree@users.noreply.github.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
1 year ago
Conall O'Brien
60c86ab218
Fix inconsistent variable name, to address compilation issue ( #2820 )
...
https://github.com/prometheus/node_exporter/issues/2819
Signed-off-by: Conall O'Brien <conall@conall.net>
1 year ago
dependabot[bot]
8ff3c43922
build(deps): bump github.com/prometheus/client_golang ( #2815 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.16.0 to 1.17.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.16.0...v1.17.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
ToMe25
db3a43783a
Fix promhttp_metric_handler_errors_total metric not being disabled by flag
...
Signed-off-by: ToMe25 <ToMe25@gmx.de>
1 year ago
dongjiang
e8c5110ada
fix(zfs) zfs `arcstats.p` on FreeBSD 14.0+ ( #2754 )
...
* dongjiang, fix zfs arcstats.p
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* dongjiang, fix gofmt -s
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* change warn log to debug log by code review
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
1 year ago
prombot
446b3e64ff
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
1 year ago
Metbog
e387997e4c
Move RO status before error return
...
Signed-off-by: Metbog <metbog@gmail.com>
1 year ago
Conall O'Brien
f34aaa6109
Add ZFS freebsd per dataset stats ( #2753 )
...
* Rename parsePoolObjsetFile to parseLinuxPoolObjsetFile to better reflect
it's scope
* Create a new parseFreeBSDPoolObjsetStats function, to generate a list
of per pool metrics to be queried via sysctl
---------
Signed-off-by: Conall O'Brien <conall@conall.net>
1 year ago
PrometheusBot
5ae22fa2c0
Update common Prometheus files ( #2798 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
1 year ago
dependabot[bot]
e590476dc7
build(deps): bump golang.org/x/sys from 0.10.0 to 0.12.0 ( #2797 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.10.0 to 0.12.0.
- [Commits](https://github.com/golang/sys/compare/v0.10.0...v0.12.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Daniel Swarbrick
685b98ec7f
Optionally fetch ARP stats via rtnetlink instead of procfs ( #2777 )
...
* Optionally fetch ARP stats via rtnetlink instead of procfs
Implement collection of ARP stats via rtnetlink to work around
shortcomings in the output of /proc/net/arp, which truncates InfiniBand
link-layer addresses.
Fixes : #2776
---------
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
1 year ago
Ben Kochie
cda1d820bb
Update to Go 1.21 ( #2796 )
...
* Update Go build to 1.21.
* Update machine images to Ubuntu 22.04 current.
Signed-off-by: Ben Kochie <superq@gmail.com>
1 year ago
Daniel Swarbrick
381f32b1c5
btrfs: close btrfs.FS handle after use
...
Despite being quite hard to provoke (< 10% in my testing), the btrfs
collector would occasionally leave stale FDs relating to btrfs
mountpoints, making the filesystems unable to be unmounted.
Fixes : #2772 .
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
1 year ago
Josh Bradley
f2b274350a
fix(qdisc) flag naming corrected for consistency ( #2782 )
...
* fix collector qdisc flag naming for consistency
---------
Signed-off-by: jbradleynh <jbradley@fastly.com>
1 year ago
John Kordich
e120d958f5
Change log message from Warn to Debug
...
Signed-off-by: John Kordich <jkordich@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: John Kordich <jkordich@gmail.com>
1 year ago
John Kordich
933b1c1797
Add new node_cpu_frequency_hertz metric
...
Revert changes to node_cpu_info and add new node_cpu_frequency_hertz
metric for measuring CPU frequency from /proc/cpuinfo
Signed-off-by: John Kordich <jkordich@gmail.com>
1 year ago
John Kordich
e84c278107
Update e2e-output.txt with new expected metric values
...
Changes the e2e-output.txt file to have the expected CPU MHz values
for the node_cpu_info metric.
Signed-off-by: John Kordich <jkordich@gmail.com>
1 year ago
John Kordich
223ebbd50c
Add CPU MHz as the value for "node_cpu_info" metric
...
For CPUs which don't have an available (or insertable) cpufreq driver,
the /proc/cpuinfo file can sometimes have accurate CPU core frequency
measurements. This change replaces the constant value of "1" for the
"node_cpu_info" metric with the parsed CPU MHz value from
/proc/cpuinfo for each core.
Signed-off-by: John Kordich <jkordich@gmail.com>
1 year ago
takt
6225435677
Upgrade github.com/ema/qdisc to v1.0.0 to improve qdisc collector ( #2779 )
...
performance
Signed-off-by: Oliver Geiselhardt-Herms <ogh@deepl.com>
Co-authored-by: Oliver Geiselhardt-Herms <ogh@deepl.com>
1 year ago
Daniel Swarbrick
37ce0bab8c
Sync build tags in *_test.go ( #2767 )
...
Ensure that unwanted tests are correctly excluded when various build
tags are specified, i.e. when the code that they test would be excluded
from compilation.
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
1 year ago
Daniel Swarbrick
3fb5f70b0c
Drop redundant GOOS build tags if already in filename
...
Drop redundant GOOS build tags at start of file if the constraint is
already specified by the filename, e.g. foo_GOOS.go or
foo_GOOS_GOARCH.go, avoiding potential confusion in future.
cf. https://pkg.go.dev/cmd/go#hdr-Build_constraints
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
1 year ago
dependabot[bot]
c6c28d915c
build(deps): bump github.com/jsimonetti/rtnetlink from 1.3.3 to 1.3.4 ( #2765 )
...
Bumps [github.com/jsimonetti/rtnetlink](https://github.com/jsimonetti/rtnetlink ) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/jsimonetti/rtnetlink/releases )
- [Commits](https://github.com/jsimonetti/rtnetlink/compare/v1.3.3...v1.3.4 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
60f08e0aac
build(deps): bump github.com/prometheus/procfs from 0.11.0 to 0.11.1 ( #2763 )
...
Bumps [github.com/prometheus/procfs](https://github.com/prometheus/procfs ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/prometheus/procfs/releases )
- [Commits](https://github.com/prometheus/procfs/compare/v0.11.0...v0.11.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/procfs
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>
1 year ago
dependabot[bot]
35278b94f8
build(deps): bump github.com/beevik/ntp from 1.1.1 to 1.3.0 ( #2762 )
...
Signed-off-by: Ben Kochie <superq@gmail.com>
1 year ago
Benoît Knecht
3b9613cfae
collector/netdev_linux.go: Fallback to 32-bit stats ( #2757 )
...
On some platforms, `msg.Attributes.Stats64` is `nil` because the kernel doesn't
expose 64-bit stats. In that case, return `msg.Attributes.Stats` instead, which
are the 32-bit equivalent.
Note that `RXOtherhostDropped` isn't available in that case, so we hardcode it
to zero.
Fixes #2756 .
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
1 year ago
L
5d1b96c936
Include drm collector in README
...
The DRM collector was missing in the README, this change includes it together with a short description.
Signed-off-by: L <3177243+LukeLR@users.noreply.github.com>
1 year ago
PrometheusBot
8fb4f78ce5
Update common Prometheus files ( #2752 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
1 year ago
PrometheusBot
fa481315b5
Synchronize common files from prometheus/prometheus ( #2736 )
...
* Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
* Fixup linting issues
* Disbale unused-parameter check.
* Fixup minor linting issues.
Signed-off-by: Ben Kochie <superq@gmail.com>
---------
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
1 year ago
Ben Kochie
2d8069208c
Release v1.6.1 ( #2747 )
...
Rebuild with latest Go compiler bugfix release.
Signed-off-by: Ben Kochie <superq@gmail.com>
1 year ago
Ben Kochie
7c564bcbef
Fixup hwmon chip include ( #2739 )
...
Use the correct include value to the device filter function.
* Add new bogus hwmon fixture.
* Update end-to-end test to use hwmon chip include flag.
Signed-off-by: Ben Kochie <superq@gmail.com>
1 year ago
Conall O'Brien
c241ecf8bd
Update all Include and Exclude variables to use the systemdUnit naming ( #2740 )
...
prefix.
Leave an annotation about using regexps instead of device_filter.go, so
@SuperQ doesn't need to remember everything.
Signed-off-by: Conall O'Brien <conall@conall.net>
1 year ago
Gabi Davar
f4344579d5
Add missing ethtool flag documentation ( #2743 )
...
Signed-off-by: Gabi Davar <grizzly.nyo@gmail.com>
1 year ago
Conall O'Brien
8b4dc82488
Add include and exclude filter for hwmon collector ( #2699 )
...
* Add include and exclude flags chip name flags to hwmon collector, following example in systemd collector
---------
Signed-off-by: Conall O'Brien <conall@conall.net>
Co-authored-by: Ben Kochie <superq@gmail.com>
1 year ago
Ben Kochie
ed57c15e2c
Merge pull request #2644 from v-zhuravlev/mixin_alerts
...
Mixin: Add and update alerts
1 year ago
dependabot[bot]
a24344d4a8
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.15.1 to 1.16.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.15.1...v1.16.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>
1 year ago