Nobuhiro MIKI
3ed95908d6
collector: add slab info
...
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Nobuhiro MIKI <nmiki@yahoo-corp.jp>
2 years ago
Ben Kochie
69a3f73a9b
Merge pull request #2417 from prometheus/superq/diskstats
...
Add diskstats include and exclude device flags
2 years ago
Ben Kochie
02f5005ac8
Add diskstat include/exclude flag to all platforms
...
Refactor diskstats collector include/exclude to work on all platforms.
* Fix up default ignored devices.
Signed-off-by: Ben Kochie <superq@gmail.com>
2 years ago
rushilenekar20
8fcc6320a2
Add diskstats include and exclude device flags
...
Use standard include/exclude pattern for device include/exclude in the
diskstats collector.
Signed-off-by: Ben Kochie <superq@gmail.com>
Co-authored-by: rushilenekar20 <rushilenekar20@gmail.com>
2 years ago
Jonathan Davies
88f1811eb1
Add selinux collector ( #2205 )
...
Add selinux collector
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
2 years ago
Sven Kieske
d64766f43d
fix the following markdownlint issues ( #2362 )
...
fix the following markdownlint errors (and some more):
[..]mixins/node-exporter/README.md:13: MD031 Fenced code blocks should be surrounded by blank lines
[..]mixins/node-exporter/README.md:21: MD031 Fenced code blocks should be surrounded by blank lines
[..]mixins/node-exporter/README.md:27: MD031 Fenced code blocks should be surrounded by blank lines
[..]mixins/node-exporter/README.md:33: MD031 Fenced code blocks should be surrounded by blank lines
[..]mixins/node-exporter/README.md:41: MD034 Bare URL used
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
Signed-off-by: Sven Kieske <s.kieske@mittwald.de>
2 years ago
Ben Kochie
d2b8ee8f20
Add rapl zone label option ( #2401 )
...
Add an optional flag to set the RAPL zone as a label, instead of as part
of the metric name.
Fixes: https://github.com/prometheus/node_exporter/issues/2299
Signed-off-by: Ben Kochie <superq@gmail.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
Ben Kochie
59c146e57d
Update end-to-end test for aarch64 ( #2415 )
...
Fix up handling of CPU info collector on non-x86_64 systems due to
fixtures containing `/proc/cpuinfo` from x86_64.
* Update e2e 64k page test fixture from an arm64 system.
* Enable ARM testing in CircleCI.
Fixes: https://github.com/prometheus/node_exporter/issues/1959
Signed-off-by: Ben Kochie <superq@gmail.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
Ben Kochie
a516d4de4a
Cleanup cgroups collector ( #2414 )
...
* Correctly name collector file.
* Fix cgroup summary type as gauge.
* Use a boolean metric rather than a label for enabled.
Signed-off-by: Ben Kochie <superq@gmail.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
279ac3ada2
Merge pull request #2406 from prometheus/superq/1.18
...
Update build
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
Ben Kochie
98889b3705
Merge pull request #2245 from prometheus/fish-fix-e2e-64k-page-output
...
Check 64k-page e2e fixtures
2 years ago
PrometheusBot
2192e2a144
Update common Prometheus files ( #2402 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2 years ago
Björn Rabenstein
e5128e83f2
Merge pull request #2364 from grafana/vzhuravlev/fs_table
...
mixin: Change disk graph to disk table
2 years ago
Jan Fajerski
cec414df78
node-mixins/config: Switch fsAvailable warning and critical thresholds
...
Problem: In 0b50eb7294
the usage of the
threshold variables was adjusted. The values had been switched as well
resulting in reversed thresholds after the commit above. Warnings now
have a smaller threshold than critical alerts.
Solution: Adjust thresholds to reflect that warnings should be alerted
on before critical alerts.
Issues: https://github.com/prometheus/node_exporter/pull/2352
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2 years ago
Ben Kochie
3999866a36
Merge pull request #2368 from mrueg/update-go-systemd
...
go.mod: Update coreos/go-systemd
3 years ago
Ben Kochie
0ba6178e01
Merge pull request #2391 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
3 years ago
Ben Kochie
ea85bfcc23
Merge pull request #2378 from prometheus/superq/devfilter
...
Rename netDevFilter helper
3 years ago
prombot
bd5b9c687d
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
3 years ago
Ben Kochie
58af1cc8df
Merge pull request #2370 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
3 years ago
Ben Kochie
e22382c5ec
Merge pull request #2372 from aneagoe/master
...
rapl_collector: fix issue with invalid metric name (#2299 )
3 years ago
Ben Kochie
c6e1a5b742
Merge pull request #2381 from tklauser/unix-byteslicetostring
...
collector: use ByteSliceToString from golang.org/x/sys/unix
3 years ago
Tobias Klauser
a8ebe3519e
collector: use ByteSliceToString from golang.org/x/sys/unix
...
Use unix.ByteSliceToString to convert Utsname []byte fields to strings.
This also allows to drop the bytesToString helper which serves the same
purpose and matches ByteSliceToString's implementation.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
3 years ago
Ben Kochie
1b6aaeb2e8
Rename netDevFilter helper
...
Rename the network device filter to a more generic device filter.
Signed-off-by: Ben Kochie <superq@gmail.com>
3 years ago
Andrei Neagoe
0e320e725b
rapl_collector: fix issue with invalid metric name ( #2299 )
...
Signed-off-by: Andrei Neagoe <3854672+aneagoe@users.noreply.github.com>
3 years ago
prombot
fa6e6dfb7f
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
3 years ago
Ben Kochie
da8b0f694c
Merge pull request #2369 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
3 years ago
prombot
4f8bc10b00
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
3 years ago
Manuel Rüger
21f9ce2c49
go.mod: Update coreos/go-systemd
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
3 years ago
Ben Kochie
66d9d7ded4
Merge pull request #2366 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
3 years ago
prombot
fd8177a029
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
3 years ago
Björn Rabenstein
b5a2ad46e3
Merge pull request #2351 from grafana/vzhuravlev/macos
...
Add darwin dashboard
3 years ago
Vitaly Zhuravlev
eef827006a
Change disk graph to disk table
...
Signed-off-by: Vitaly Zhuravlev <zhuravlev.vitaly@gmail.com>
3 years ago
Ben Kochie
5ea0a936cb
Merge pull request #2322 from babiel/tcpstat-netlink
...
refactor: Use netlink for tcpstat collector
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
19e4a2352f
Merge pull request #2334 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
3 years ago
Ben Kochie
0852c22cc3
Merge pull request #2352 from danlenar/master
...
Reverse fsSpaceAvailableCriticalThreshold and fsSpaceAvailableWarningThreshold
3 years ago
Daniel Lenar
0b50eb7294
Reverse fsSpaceAvailableCriticalThreshold and fsSpaceAvailableWarningThreshold
...
Currently critical alert for space available alerts on warning and
warning alert for space available alerts on critical.
Signed-off-by: Daniel Lenar <dlenar@vailsys.com>
3 years ago
Gabriel Amaral Antunes
410e069471
Add darwin dashboard to mixin
...
Signed-off-by: Vitaly Zhuravlev <zhuravlev.vitaly@gmail.com>
3 years ago
Ben Kochie
3d9ee5d9cc
Merge pull request #2343 from binjip978/staticcheck-linux
...
Fix staticcheck warnings on linux
3 years ago
binjip978
e5f384dfe6
Fix staticcheck warnings on linux
...
Signed-off-by: binjip978 <pdp.eleven11@gmail.com>
3 years ago
Ben Kochie
6a5a238da3
Merge pull request #2340 from grafana/vzhuravlev/alerts
...
Fix NodeFileDescriptorLimit alerts
3 years ago
Vitaly Zhuravlev
8823605f12
Fix NodeFileDescriptorLimit alerts
...
Signed-off-by: Vitaly Zhuravlev <zhuravlev.vitaly@gmail.com>
3 years ago
prombot
e6df2dab07
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
3 years ago
Ben Kochie
b52bf958f8
Merge pull request #2327 from pjjw/pjjw/powersupplyclass-darwin-old-sdk-fixes
...
powersupplyclass_darwin: extra includes to build against older macOS SDK
3 years ago