Björn Rabenstein
443072dfc3
Merge pull request #1438 from paulfantom/fix_selectors
...
docs/node-mixin: fix incorrect queries
2019-07-24 15:24:42 +02:00
paulfantom
c41826274d
docs/node-mixin: move fsSelector and diskDeviceSelector to the end of query
...
This will cause a query to be valid even if values of selector are
empty.
Additionally fixing query responsible for disk space usage.
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2019-07-24 13:05:02 +02:00
Björn Rabenstein
106b09b4ed
Merge pull request #1429 from prometheus/beorn7/mixin
...
First iteration for the node mixin, 2nd attempt.
2019-07-23 23:14:15 +02:00
beorn7
79f0357e38
Added _excluding_lo
to name of network rules that exclude lo
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-22 20:21:52 +02:00
beorn7
36dc7451c9
Improvement of comments and panel titles
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-22 14:06:27 +02:00
dt-rush
5d3e2ce2ef
properly strip path.rootfs from mountpoint labels ( #1421 )
...
Change-type: patch
Connects-to: #1418
Signed-off-by: dt-rush <nickp@balena.io>
2019-07-19 16:51:17 +02:00
beorn7
e01d9f9e78
Break out device in disk IO rules/dashboard
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-18 15:59:35 +02:00
beorn7
b8c4b0cb29
Removed unneeded sum_
and avg_
from rule names
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-18 14:14:02 +02:00
beorn7
706511a495
Responses to review comments, round 3
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-17 23:54:31 +02:00
beorn7
3a770a0b1d
Convert annotations from message to summary/description
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-16 21:40:57 +02:00
beorn7
a92d1d7889
Address review comments, batch 2
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-16 21:18:17 +02:00
beorn7
3ab1f41d12
Make more use of config.libsonnet
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-16 19:34:27 +02:00
beorn7
2180c2f3bf
Address first batch of old review comments
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-16 19:14:17 +02:00
Steven Kreuzer
d8e47a9f9f
Expose additional XFS runtime statistics ( #1423 )
...
Include directory operation, read/write system call, and vnode runtime
statistics for XFS filesystems.
Signed-off-by: Steven Kreuzer <skreuzer@FreeBSD.org>
2019-07-15 16:28:09 +02:00
Ben Kochie
0de95ef8f3
Add changelog entry for #1414
...
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-07-12 14:25:17 +02:00
detailyang
7fe9713edf
bugfix: avoid nil reference when ignore is nil ( #1414 )
...
Signed-off-by: detailyang <detailyang@gmail.com>
2019-07-12 14:23:54 +02:00
beorn7
b3b47f2d07
Make selector naming consistent
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-10 20:09:01 +02:00
beorn7
dec5b5b053
Fix indentation
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-10 20:07:20 +02:00
beorn7
9d7045e483
(Re-)adjust to Grafana gauge expecting percentage 0-100 (rather than 1-0)
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-10 19:40:04 +02:00
Phil Frost
f693a71c06
Scrape CPU latency stats from /proc/schedstat ( #1389 )
...
These are useful as a direct indication of CPU contention and task
scheduler latency.
Handy references:
- https://github.com/torvalds/linux/blob/master/Documentation/scheduler/sched-stats.txt
- https://doc.opensuse.org/documentation/leap/tuning/html/book.sle.tuning/cha.tuning.taskscheduler.html
procfs is updated to pull in the enabling change:
https://github.com/prometheus/procfs/pull/186
Signed-off-by: Phil Frost <phil@postmates.com>
2019-07-10 09:16:24 +02:00
秋葉
777b751f90
read /proc/net files with a single read syscall ( #1380 )
...
Signed-off-by: Hanaasagi <ambiguous404@gmail.com>
2019-07-08 15:53:14 +02:00
beorn7
f331b308f3
Use promgrafonnet as a vendored library from its source
...
The only deviation that happened so far is to use format="percentunit"
in a Grafana gauge. This change wasn't even properly used in this repo
so far, so I opted to stick with "upstream" for now. If changes are
really needed, we can try to change upstream first.
Another change was done in parallal here and upstream, but it was
"more correct" in upstream. (Change datasource to $datasource
variable, only partially applied here.) Which is another point for
using the upstream and not copy it here.
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-06 21:11:23 +02:00
beorn7
e5266c242e
Add README.md
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-06 20:30:40 +02:00
beorn7
f2891703a5
Add Makefile to easily make output files and lint sources
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-06 20:21:56 +02:00
beorn7
f17829c48b
Create jsonnet files to create output files
...
This allows to create YAML files with rules and JSON files with
dashboard descriptions.
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-06 20:11:27 +02:00
beorn7
cd2981f1b8
Update vendoring to current location of jsonnet-libs
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-06 20:10:47 +02:00
beorn7
2df034c055
Move node-mixin into docs directory
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-05 19:38:03 +02:00
beorn7
61bcc5b468
Merge branch 'mixin' of git://github.com/tomwilkie/node_exporter into beorn7/mixin
2019-07-05 19:28:54 +02:00
Derek Marcotte
3d504bc5cb
Added FreeBSD zfs support per #1063 . ( #1394 )
...
Based on the solaris implementation. There's a lot of other sysctls
available on FreeBSD that aren't reported here. It'll be easy to add,
if they're useful. All of the sysctls are uint64.
Signed-off-by: Derek Marcotte <554b8425@razorfever.net>
2019-07-03 15:47:39 +02:00
Simon Pasquier
0841244283
Use Prometheus Circle CI's orb ( #1412 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-02 18:40:25 +02:00
Benjamin Drung
cdd9a5fdef
Update procfs to v0.0.4-0.20190627154503-39e1aff1547e ( #1409 )
...
procfs v0.0.4-0.20190627154503-39e1aff1547e is a requirement for
https://github.com/prometheus/node_exporter/pull/1357 (because procfs
v0.0.3 contained bug https://github.com/prometheus/procfs/pull/187 )
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2019-07-01 12:23:50 +02:00
Advait Bhatwadekar
3f49b31101
Closes issue #261 on node_exporter. ( #1403 )
...
* Closes issue #261 on node_exporter.
Delegated mdstat parsing to procfs project. mdadm_linux.go now only exports the metrics.
-> Added disk labels: "fail", "spare", "active" to indicate disk status
-> hanged metric node_md_disks_total ==> node_md_disks_required
-> Removed test cases for mdadm_linux.go, as the functionality they tested for has been moved to procfs project.
Signed-off-by: Advait Bhatwadekar <advait123@ymail.com>
2019-07-01 11:56:06 +02:00
yosefy
b4cc818347
fix for 'Celsius' spelling problem in storcli.py ( #1408 )
...
Signed-off-by: yosefy <yosef.yudilevich@gmail.com>
2019-07-01 11:53:50 +02:00
Nuno Tavares
3a576f64de
FIX ipmitool sensor discrete values are expressed in hex ( #1402 )
...
Signed-off-by: Nuno Tavares <n.tavares@portavita.eu>
2019-06-29 10:46:04 +02:00
Ben Kochie
ccf27426ad
Fix 64k page e2e fixture ( #1404 )
...
Update for change in https://github.com/prometheus/node_exporter/pull/1224
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-06-28 09:53:35 +02:00
PrometheusBot
7e684f16ae
makefile: update Makefile.common with newer version ( #1399 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-26 06:56:06 +02:00
Benjamin Drung
4f074dfbc7
Update procfs to v0.0.3 ( #1395 )
...
procfs v0.0.3 is a requirement for
https://github.com/prometheus/node_exporter/pull/1357
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2019-06-25 19:27:07 +02:00
ssinha-ionos
e972e38b42
Add mulitipathd_info text collector example ( #1375 )
...
multipathd_info is a script that exposes device mapper multipathing
metrics from multipathd daemon.
Signed-off-by: Saket Sinha <saket.sinha@cloud.ionos.com>
2019-06-25 11:02:02 +02:00
mknapphrt
3108a50fb6
Fix systemd restart counter label from state to name ( #1393 )
...
Signed-off-by: Mark Knapp <mknapp@hudson-trading.com>
2019-06-25 09:37:48 +02:00
PrometheusBot
76a37a6816
makefile: update Makefile.common with newer version ( #1390 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-24 13:01:45 +02:00
PrometheusBot
e57f05aace
makefile: update Makefile.common with newer version ( #1378 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-23 08:37:40 +02:00
Björn Rabenstein
a9231ad6ad
Update prometheus/client_golang to v1.0.0 ( #1382 )
...
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-21 11:05:48 +02:00
Leonid Evdokimov
22a7dbae08
Ignore iso9600 filesystem on Linux ( #1355 )
...
The filesystem is read-only and is often used for a virtual FS
with a configuration file for a virtual machine.
Signed-off-by: Leonid Evdokimov <leon@darkk.net.ru>
2019-06-18 17:47:05 +01:00
Paul Gier
2bc133cd48
update procfs to v0.0.2 ( #1376 )
...
Signed-off-by: Paul Gier <pgier@redhat.com>
2019-06-12 20:47:16 +02:00
Ben Kochie
0759c0ac01
Bump logrus to fix Solaris build. ( #1373 )
...
Bump to github.com/sirupsen/logrus@v1.4.2.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-06-12 20:46:26 +02:00
PrometheusBot
b556592217
makefile: update Makefile.common with newer version ( #1371 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-07 08:35:51 +02:00
Jérémy Ruffet
03f0b4db9f
Account for spaces in repository label ( #1348 )
...
Signed-off-by: Jérémy Ruffet <jeremy.ruffet@i-run.fr>
2019-06-05 12:03:06 +02:00
Ben Kochie
c39f6749fc
Bugfix release 0.18.1 ( #1366 )
...
Cherry-pick two bug fixes into 0.18.1.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-06-04 14:29:33 +02:00
Brian Candler
b3429e4a97
Make storcli.py compatible with python2 ( #1365 )
...
This is only a minor change to .format() arguments, and is useful on CentOS6
servers which have only python2.
Signed-off-by: Brian Candler <b.candler@pobox.com>
2019-06-03 11:46:02 +02:00
Ben Kochie
4a15edf0b6
Add changelog entry for #1364
...
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-06-03 11:20:06 +02:00