ston1th
bdba65df16
skip null bytes at the end of strings
...
Signed-off-by: ston1th <ston1th@giftfish.de>
4 years ago
ston1th
26bd6bf99d
more build fixes
...
Signed-off-by: ston1th <ston1th@giftfish.de>
4 years ago
ston1th
386992e984
fixed build
...
Signed-off-by: ston1th <ston1th@giftfish.de>
4 years ago
ston1th
f8609aeee2
remove openbsd amd64 cgo dependecies
...
I have rewritten all CGO dependencies for OpenBSD amd64
using pure go, be able to crosscompile node_exporter.
Signed-off-by: ston1th <ston1th@giftfish.de>
4 years ago
Julien Pivotto
f645d49242
Mixin: Bump jsonnet requirement to 0.16 to use go-jsonnetcmd
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Ondrej Baudys
ed10485073
Expose XFS inode statistics ( #1869 ) ( #1870 )
...
* Expose XFS inode statistics (#1869 )
Also fixes #1177
@SuperQ @discordianfish
Signed-off-by: Ondrej Baudys <obaudys@gmail.com>
Co-authored-by: obaudys@gmail.com <ondrej.baudys@nextgen.net>
4 years ago
Frederic Branczyk
dbf8c709ad
Merge pull request #1872 from metalmatze/mixin-jsonnet-absolute-import-paths
...
Use absolute jsonnet import paths
4 years ago
Matthias Loibl
77e76485c0
Use absolute jsonnet import paths
...
This should be the way forward when importing libraries in jsonnet. It's
closer to how Go imports look and makes it more obvious where packages
live.
This is not breaking anything, as the old imports were already symlinks
to the now directly used directories.
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
4 years ago
Björn Rabenstein
9c9c636305
Merge pull request #1861 from paulfantom/network-alerts
...
docs/node-mixin/alerts: use ratio for network alerts
4 years ago
paulfantom
f81747e608
docs/node-mixin/alerts: add max error condition to alert about desynchronized clock
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
4 years ago
paulfantom
d7cbe85d22
docs/node-mixin/alerts: use a rate for network alerts
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
4 years ago
Ben Kochie
306a365377
Downgrade CPU counter warnings
...
We've gathered enough evidence that the CPU counter bug workaround is
working as intended. Downgrade the message from Warning to Debug.
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
Christian Rohmann
a3aaf63bb1
Add check state for mdadm arrays via node_md_state metric ( #1810 )
...
* Expose metric for state=check for node_md_state
* Added new e2e output fixture including md201 which is in checking state and a the new state=check labeled metric for all other md
Signed-off-by: Christian Rohmann <github@frittentheke.de>
4 years ago
Ben Kochie
3b73912dd8
Update build ( #1852 )
...
* Bump Go modules to latest.
* Update to Go 1.15.
* Remove obsolete darwin/386 build.
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
Arthur Outhenin-Chalandre
6585e43eec
Fix memory gauge in mixin with multiple pods
...
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
4 years ago
Nicolas Lamirault
ff2ff3410f
Configure 2 thresholds for NodeFilesystemAlmostOutOfSpace alert ( #1835 )
...
* Add: configure 2 thresholds for NodeFilesystemAlmostOutOfSpace alert
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
4 years ago
Ben Kochie
d8a1585f59
Merge pull request #1834 from prometheus/fix-cpu-spelling
...
Fix capitalization of CPU acronym throughout
4 years ago
Julius Volz
d05aac43e4
Fix capitalization of CPU acronym throughout
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 years ago
Ben Kochie
f07e982c77
Merge pull request #1827 from rajatvig/patch-1
...
Fix NodeRAIDDegraded to not use a string rule expressions
4 years ago
Rajat Vig
7dd8adf7ed
Fix NodeRAIDDegraded to not use a string rule expressions
...
Signed-off-by: Rajat Vig <rvig@etsy.com>
4 years ago
Ben Kochie
e51b508428
Merge pull request #1823 from simonpasquier/add-mixin-to-ci
...
*: add mixin tests to CI
4 years ago
Simon Pasquier
02212dd2c6
Run jsonnetfmt
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
Hao Ke
9b7a0d06a1
Fix syntax error
...
Signed-off-by: Hao Ke <hao.ke@auryc.com>
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
Simon Pasquier
6d959e2e8c
*: add mixin tests to CI
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
Julian Kornberger
66fb6762bf
Netdev tweaks ( #1558 )
...
* Check interface name before loading interface data
* Reduce indentation
* Optimize nested netdev map
This change avoids conversion to strings and back.
Signed-off-by: Julian Kornberger <jk+github@digineo.de>
4 years ago
Aleksei Zakharov
0478ddef69
bcache: add writeback_rate_debug stats ( #1658 )
...
* bcache: add writeback_rate_debug export
Signed-off-by: Aleksei Zakharov <zaharov@selectel.ru>
4 years ago
paulfantom
e4ec8e04c5
docs/node-mixin: add alerts about failing RAID array
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
4 years ago
Aleksei Zakharov
3b035c8fa1
bcache: add priorityStats flag ( #1621 )
...
* bcache: add priorityStats flag
Fixes #1593
Signed-off-by: Aleksei Zakharov <zaharov@selectel.ru>
4 years ago
domchan
503e4fc848
Expose cpu bugs and flags as info metrics. ( #1788 )
...
* Expose cpu bugs and flags as info metrics with a regexp filter.
* Automatically enable CPU info metrics when using flags or bugs feature.
Signed-off-by: domgoer <domdoumc@gmail.com>
4 years ago
Ben Kochie
f4b89c79a2
Merge pull request #1787 from domgoer/master
...
better wording
4 years ago
domgoer
457b7cdc18
better wording
...
Signed-off-by: domgoer <domdoumc@gmail.com>
4 years ago
Ben Kochie
a4f45e823f
Merge pull request #1782 from prometheus/superq/drop_vendor
...
Remove vendor directory
4 years ago
胡玮文
2c1d2a6efd
Update the link to prometheus-dcgm
...
The original link is broken (404).
Signed-off-by: 胡玮文 <huww98@outlook.com>
4 years ago
Ben Kochie
7c659627da
Remove vendor directory
...
Dev summit 2020-07-10 consensus item: Remove vendor from repos.
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
Ben Kochie
4ef4548ad5
Merge pull request #1770 from prometheus/superq/fix_md_changelog
...
Fix up node_md_disks changelog entry
4 years ago
Ben Kochie
7ad86f7994
Merge pull request #1769 from knweiss/typos
...
udp_queues_linux.go: s/upd/udp/ in two error strings
4 years ago
Ben Kochie
1f46669916
Fix up node_md_disks changelog entry
...
Fixes: https://github.com/prometheus/node_exporter/issues/1759
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
Karsten Weiss
b9b1d4e369
udp_queues_linux.go: s/upd/udp/ in two error strings
...
Signed-off-by: Karsten Weiss <knweiss@gmail.com>
4 years ago
Ben Kochie
8d436bedf5
Merge pull request #1761 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
4 years ago
prombot
10fe59b9b6
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
4 years ago
Ben Kochie
5d42d4d99f
Merge pull request #1732 from fach/master
...
Adding backlog/current queue length to qdisc collector
4 years ago
Ben Kochie
08ce3c6dd4
Merge pull request #1733 from prometheus/superq/OutRsts
...
Include TCP OutRsts in netstat metrics
4 years ago
Ben Kochie
e96073cfd5
Merge pull request #1752 from prometheus/superq/error_verb
...
Use Go 1.13 error features
4 years ago
Ben Kochie
dfa53f835a
Use Go 1.13 error features
...
* Use `errors.Is()` for unwrapping errors.
* Use `%w` error verb in internal error formatting.
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
Ben Kochie
3799895d41
Merge pull request #1750 from prometheus/superq/1.0.1
...
Update for 1.0.1 release
5 years ago
Ben Kochie
a34630b8a2
Update for 1.0.1 release
...
Update changelog and version for 1.0.1 release.
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
Ben Kochie
64ba27e7d6
Fix up powersupplyclass error
...
Switch to go `%w` error verb and errors.Is().
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
Ben Kochie
35bfe455df
Merge pull request #1735 from prometheus/bjk/bump_procfs
...
Update prometheus/procfs
5 years ago
Ben Kochie
c8c1618074
Merge pull request #1747 from prometheus/superq/fix_powersupplyclass
...
Handle no data from powersupplyclass
5 years ago
Ben Kochie
baa7ab732f
Update prometheus/procfs
...
Fixes: https://github.com/prometheus/node_exporter/issues/1721
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago