kamijin_fanta
1f5898999e
add network_route collector
...
Signed-off-by: kamijin_fanta <kamijin@live.jp>
2020-12-04 10:32:34 +09:00
Ben Kochie
35f2e3d83c
Update install instructions in README
...
Move end-user install instructions to the top of the README.
* Add a Docker Compose example.
* Improve some wording.
* Link to the Cloud Alchemy Ansible role.
* Update to git clone method for dev/building
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-11-25 17:14:23 +01:00
Anthony D'Atri
8b466360a3
Modest doc improvements ( #1876 )
...
* Modest doc improvements
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-11-25 16:46:58 +01:00
Paul Manley
c007f01697
Merge branch 'master' of https://github.com/prometheus/node_exporter
2020-11-24 14:49:58 -06:00
Louis Taylor
c8d5159fed
readme: fix link to PSI documentation ( #1864 )
...
The txt was changed to rst:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/accounting/psi.rst
But it's probably better to link to the rendered docs, since the link
should be more stable.
Signed-off-by: Louis Taylor <louis@kragniz.eu>
2020-11-24 18:33:54 +01:00
Paul Manley
5c07b7ceb7
add backticks to file path of powersupplyclass
...
Signed-off-by: Paul Manley <paul.manley@wholefoods.com>
2020-11-23 16:23:43 -06:00
Paul Manley
3649251e9e
add btrfs and powersupplyclass to list of exporters enabled by default
...
Signed-off-by: Paul Manley <paul.manley@wholefoods.com>
2020-11-23 16:16:27 -06:00
ston1th
91bec7c53c
fixed build
...
new type: `netDevStats map[string]map[string]uint64`
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:52:03 +01:00
ston1th
1450a92a68
move const values to iota plus code cleanup
...
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:37:57 +01:00
ston1th
bdba65df16
skip null bytes at the end of strings
...
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:37:57 +01:00
ston1th
26bd6bf99d
more build fixes
...
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:37:56 +01:00
ston1th
386992e984
fixed build
...
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:37:56 +01:00
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>
2020-11-12 23:37:48 +01:00
Trey Dockendorf
0692791457
Add more IB counters
...
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2020-11-12 09:35:13 -05:00
xinau
daa7303a82
collector/filesystem: fixing logging message
...
this change fixes the logging message for the filesystem ignored-fs-types flag to output the flag instead of the mountpoints flag.
Signed-off-by: xinau <felix.ehrenpfort@protonmail.com>
2020-11-12 15:27:33 +01:00
Artur Molchanov
519203e3d0
Expose zfs zpool state
...
Create a metric node_zfs_zpool_state.
Signed-off-by: Artur Molchanov <artur.molchanov@easybrain.com>
2020-10-27 17:39:13 +03:00
Julien Pivotto
f645d49242
Mixin: Bump jsonnet requirement to 0.16 to use go-jsonnetcmd
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-10-27 11:41:46 +01:00
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>
2020-10-22 18:14:33 +02:00
Frederic Branczyk
dbf8c709ad
Merge pull request #1872 from metalmatze/mixin-jsonnet-absolute-import-paths
...
Use absolute jsonnet import paths
2020-10-21 11:39:41 +02:00
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>
2020-10-20 11:34:43 +02:00
Björn Rabenstein
9c9c636305
Merge pull request #1861 from paulfantom/network-alerts
...
docs/node-mixin/alerts: use ratio for network alerts
2020-10-19 12:14:24 +02:00
paulfantom
f81747e608
docs/node-mixin/alerts: add max error condition to alert about desynchronized clock
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2020-10-08 11:15:16 +02:00
fsschmitt
effa4da989
fix: node_md_disks state label as failed
...
Signed-off-by: fsschmitt <492108+fsschmitt@users.noreply.github.com>
2020-10-07 14:20:56 +01:00
paulfantom
d7cbe85d22
docs/node-mixin/alerts: use a rate for network alerts
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2020-10-07 13:04:51 +02:00
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>
2020-10-01 12:41:15 +02:00
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>
2020-09-27 13:44:45 +02:00
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>
2020-09-23 21:06:58 +02:00
Arthur Outhenin-Chalandre
6585e43eec
Fix memory gauge in mixin with multiple pods
...
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
2020-09-23 15:36:43 +02:00
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>
2020-09-18 11:28:32 +02:00
Ben Kochie
d8a1585f59
Merge pull request #1834 from prometheus/fix-cpu-spelling
...
Fix capitalization of CPU acronym throughout
2020-09-04 11:15:53 +02:00
Julius Volz
d05aac43e4
Fix capitalization of CPU acronym throughout
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2020-09-03 23:34:33 +02:00
prombot
52fdd48afa
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-09-03 00:09:43 +00:00
Li Ling
bf154d485b
Differentiate ErrNoData and other errors ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
2020-09-01 16:21:36 +02:00
Ben Kochie
f07e982c77
Merge pull request #1827 from rajatvig/patch-1
...
Fix NodeRAIDDegraded to not use a string rule expressions
2020-08-30 16:36:56 +02:00
Rajat Vig
7dd8adf7ed
Fix NodeRAIDDegraded to not use a string rule expressions
...
Signed-off-by: Rajat Vig <rvig@etsy.com>
2020-08-28 10:43:39 +01:00
Li Ling
875f437fcc
Conntrack update: differentiate ErrNoData and other errors ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
2020-08-26 14:35:39 +02:00
Julian Kornberger
2d412c6ce6
Move ignore/accept to new netDevFilter struct
...
Signed-off-by: Julian Kornberger <jk+github@digineo.de>
2020-08-26 11:33:05 +02:00
Ben Kochie
e51b508428
Merge pull request #1823 from simonpasquier/add-mixin-to-ci
...
*: add mixin tests to CI
2020-08-25 12:00:55 +02:00
Simon Pasquier
02212dd2c6
Run jsonnetfmt
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2020-08-25 10:15:30 +02:00
Hao Ke
9b7a0d06a1
Fix syntax error
...
Signed-off-by: Hao Ke <hao.ke@auryc.com>
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2020-08-25 10:07:37 +02:00
Simon Pasquier
6d959e2e8c
*: add mixin tests to CI
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2020-08-25 10:03:46 +02:00
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>
2020-08-24 17:43:27 +02:00
Aleksei Zakharov
0478ddef69
bcache: add writeback_rate_debug stats ( #1658 )
...
* bcache: add writeback_rate_debug export
Signed-off-by: Aleksei Zakharov <zaharov@selectel.ru>
2020-08-24 17:40:31 +02:00
paulfantom
e4ec8e04c5
docs/node-mixin: add alerts about failing RAID array
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2020-08-24 16:17:20 +02:00
Li Ling
a26ffaf4f8
Failed conntrack update should return success=0 ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
2020-08-20 14:18:57 +02:00
Li Ling
f0332993ef
Empty collection should return success=0 ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
2020-08-20 14:09:55 +02:00
Aleksei Zakharov
3b035c8fa1
bcache: add priorityStats flag ( #1621 )
...
* bcache: add priorityStats flag
Fixes #1593
Signed-off-by: Aleksei Zakharov <zaharov@selectel.ru>
2020-08-10 16:50:58 +02:00
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>
2020-07-17 18:32:23 +02:00
Ben Kochie
f4b89c79a2
Merge pull request #1787 from domgoer/master
...
better wording
2020-07-14 14:32:19 +02:00
domgoer
457b7cdc18
better wording
...
Signed-off-by: domgoer <domdoumc@gmail.com>
2020-07-14 20:13:48 +08:00