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
Ben Kochie
c2b4b2a33b
Merge pull request #2292 from lookfirst/iostat
...
iostat: update due to visible deprecated warning on osx
3 years ago
Ben Kochie
5c0e4d61c8
Add systemd version as label string.
...
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
t-falconnet
5c8407b772
ethtool-linux: fix entry function
...
Signed-off-by: t-falconnet <tfalconnet.externe@bedrockstreaming.com>
3 years ago
t-falconnet
db87173be0
ethtool-linux: split between create and show entry
...
Signed-off-by: t-falconnet <tfalconnet.externe@bedrockstreaming.com>
3 years ago
t-falconnet
b0708e4c47
ethtool-linux: add remaining unlocked access to entries
...
Signed-off-by: t-falconnet <tfalconnet.externe@bedrockstreaming.com>
3 years ago
t-falconnet
642f64b701
ethtool_linux: fix entry function
...
Signed-off-by: t-falconnet <tfalconnet.externe@bedrockstreaming.com>
3 years ago
t-falconnet
4426962ec8
ethtool_linux: add mutex around entries access
...
Signed-off-by: t-falconnet <tfalconnet.externe@bedrockstreaming.com>
3 years ago
Ben Kochie
5981bbe638
Refactor systemd version
...
Move the systemd version function to an exporter method. This way we can
update the Verison information at every scrape, in case the underlying
version changes.
Signed-off-by: Ben Kochie <superq@gmail.com>
3 years ago
Ben Kochie
f7086d437b
Merge pull request #2282 from frebib/bug/systemd-version
...
systemd: Expose systemd minor version
3 years ago
Joe Groocock
64c4c39132
systemd: Expose systemd minor version
...
systemd patch versions are as important as the major version number;
they indicate security or bug fixes or other behavioural changes between
versions.
Use float64 over float32 as the rounding error with float32 rendered
250.3 as 250.3000030517578 in my testing.
Signed-off-by: Joe Groocock <jgroocock@cloudflare.com>
Signed-off-by: Joe Groocock <me@frebib.net>
3 years ago