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
dependabot[bot]
74da9f9d85
build(deps): bump github.com/beevik/ntp from 1.0.0 to 1.1.1
...
Bumps [github.com/beevik/ntp](https://github.com/beevik/ntp ) from 1.0.0 to 1.1.1.
- [Release notes](https://github.com/beevik/ntp/releases )
- [Changelog](https://github.com/beevik/ntp/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/beevik/ntp/compare/v1.0.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: github.com/beevik/ntp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Michal
c31ebb4359
Add cpu vulnerabilities reporting from sysfs ( #2721 )
...
* Add cpu vulnerabilities reporting from sysfs
---------
Signed-off-by: Michal Wasilewski <michal@mwasilewski.net>
1 year ago
prombot
3e3ab1778b
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
1 year ago
Vitaly Zhuravlev
e8d7f4e8b3
Revert alerts pending durtions
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly
3e250a95a0
Update NodeSystemSaturation severity
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
b7dfb32bfc
Set severity to NodeCPUHighUsage to info
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
6bdc1d9c98
Add thresholds for memory, disk and system alerts
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
77ae769179
Add thresholds for memory alerts
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
2111e70ac7
Add comma after 'mounted on'
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
e48e7909f4
Extend alert description
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
da32f8de17
Decrease NodeSystemdServiceFailed severity to warning
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
580c497261
Add NodeSystemSaturation and NodeMemoryMajorPagesFaults
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
e15e7d6a7b
Fix NodeMemoryHighUtilization alert
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
c3ec6e8af1
Add diskDevice selector
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
962de6c921
Add %(nodeExporterSelector)s to Network and conntrack alerts
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
94fc82e418
Add NodeDiskIOSaturation alert
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
614030bb80
Set 'at' everywhere as preposition for instance
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
3d8075da7d
Decrease NodeNetwork*Errs pending period
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
74794182a7
Add failed systemd service alert
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
fd2d62af63
Add CPU and memory alerts
...
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
0e0399d41e
Decrease NodeFilesystem pending time to 15m
...
30m is too long and there is a risk of running out of disk space/inodes completely if something is filling up disk very fast (like log file).
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Vitaly Zhuravlev
fc967aa992
Add mountpoint to NodeFilesystem alerts
...
This helps to identify alerting filesystem.
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
1 year ago
Ben Kochie
a11de2ede5
Update golangci-lint config ( #2722 )
...
* Migrate from Python codespell to golangci-lint misspell.
* Inline errcheck exclude list in the golangci-lint config.
Signed-off-by: Ben Kochie <superq@gmail.com>
1 year ago
PrometheusBot
d1b634fb80
Update common Prometheus files ( #2723 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
1 year ago
Cam Cope
2346fd9b06
add missing linkspeeds ( #2711 )
...
Signed-off-by: Cam Cope <ccope@crusoeenergy.com>
1 year ago
Ben Kochie
742ec0970a
Bump ethtool library ( #2720 )
...
Update to latest release.
Signed-off-by: Ben Kochie <superq@gmail.com>
1 year ago
Ben Kochie
6fb78f70b3
Bump wifi Go module ( #2719 )
...
Update github.com/mdlayher/wifi to the latest commit.
Signed-off-by: Ben Kochie <superq@gmail.com>
1 year ago
Junqi Zhao
107ca037c4
fix misspel in CHANGELOG.md ( #2717 )
...
Signed-off-by: juzhao <juzhao@redhat.com>
1 year ago
Erica Mays
bdc430af2b
Parallelize stat calls in Linux filesystem collector.
...
This change adds the ability to process multiple stat calls in parallel.
Processing is rate-limited based on the new flag
`collector.filesystem.stat-workers` (default 4).
Caveat: filesystem stats information is no longer in the same order as
returned by `/proc/1/mounts`. This should not be an issue.
Caveat: This change currently uses unbuffered channels to prove
correctness without reliance on buffers. Buffered channels will yield
superior performance.
Signed-off-by: Erica Mays <erica@emays.dev>
1 year ago
dependabot[bot]
75d951d47a
build(deps): bump github.com/jsimonetti/rtnetlink from 1.3.2 to 1.3.3
...
Bumps [github.com/jsimonetti/rtnetlink](https://github.com/jsimonetti/rtnetlink ) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/jsimonetti/rtnetlink/releases )
- [Commits](https://github.com/jsimonetti/rtnetlink/compare/v1.3.2...v1.3.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>
1 year ago
dependabot[bot]
fc686da10a
build(deps): bump github.com/prometheus/procfs from 0.10.0 to 0.10.1
...
Bumps [github.com/prometheus/procfs](https://github.com/prometheus/procfs ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/prometheus/procfs/releases )
- [Commits](https://github.com/prometheus/procfs/compare/v0.10.0...v0.10.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>
1 year ago