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
3 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>
3 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
Ben Kochie
aa3bce3be3
Merge pull request #2332 from prometheus/superq/bump_mods
...
Update Go modues
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
Peter Woodman
2370cccc1f
powersupplyclass_darwin: enable builds against older macOS SDK
...
This is necessary to build on darwin using nix, as nix-darwin uses an
older macOS SDK, built from Apple's open source releases.
Signed-off-by: Peter Woodman <peter@shortbus.org>
3 years ago
Ben Kochie
9aae303a46
Merge pull request #2289 from tanguyfalconnet/ethtool-lock
...
ethtool_linux: add mutex around entries access
3 years ago
Ben Kochie
086fdfed24
Merge pull request #2267 from bison/netdev-lock
...
netdev_common: Add mutex around metricDescs access
3 years ago
W. Andrew Denton
402a00932d
Add a reference to the Linux kernel's documentation for block stat.
...
Signed-off-by: W. Andrew Denton <git@flying-snail.net>
3 years ago
W. Andrew Denton
84ce3a0103
diskstats_linux: always scale reads and writes by 512 bytes, not by device units.
...
Signed-off-by: W. Andrew Denton <git@flying-snail.net>
3 years ago
prombot
e9feae971a
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
3 years ago
Brad Ison
cb7b5a755b
netdev_common: Add mutex around metricDescs access
...
In certain instances on heavily loaded nodes with many network
devices, there may be concurrent access to the netdev collector's
`metricDescs` map, resulting in a panic. This adds a mutex to prevent
concurrent reads and writes to the map.
Signed-off-by: Brad Ison <bison@xvdf.io>
3 years ago
Simon Pasquier
4917e1a451
Merge pull request #2307 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
3 years ago
prombot
dee7e7d678
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
3 years ago
Ben Kochie
e3a18fdd37
Merge pull request #2283 from prometheus/superq/fix_systemd_version
...
Refactor systemd version
3 years ago
Ben Kochie
0c14f4aede
Merge pull request #2281 from sev3ryn/patch-1
...
[node-mixin] change current datasource to grafana's default
3 years ago