Sandro Jäckel
697c2deed5
Update rootfs syntax in Docker example ( #1443 )
...
Signed-off-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
5 years ago
Phil Frost
26d4fbdf07
Fix seconds reported by schedstat ( #1426 )
...
Upstream bugfix: https://github.com/prometheus/procfs/pull/191
Signed-off-by: Phil Frost <phil@postmates.com>
5 years ago
Richard Kojedzinszky
75462bf4fe
Scrape thermal_zone temperatures ( #1425 )
...
* Scrape thermal_zone temperatures
Signed-off-by: Richard Kojedzinszky <richard@kojedz.in>
5 years ago
Ben Kochie
10146109ec
Update CHANGELOG for #1433
...
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
Philip Gough
2d95ecaa96
Extends uname collector to export on Darwin OS ( #1433 )
...
Adds uname collector support for Darwin and OpenBSD
Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
5 years ago
PrometheusBot
2f2392af3f
makefile: update Makefile.common with newer version ( #1434 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
5 years ago
Johannes 'fish' Ziemke
fc73586c97
Remove text_collector_examples/ ( #1441 )
...
* Remove text_collector_examples/
These have been moved to https://github.com/prometheus-community/node-exporter-textfile-collector-scripts
This closes #1077
Signed-off-by: Johannes 'fish' Ziemke <github@freigeist.org>
5 years ago
Solvik
0b710bb0c9
Handle JBOD setup for storcli exporter ( #1419 )
...
* handle jbod setup
Signed-off-by: Solvik Blum <solvik.blum@dailymotion.com>
5 years ago
Dipack P Panjabi
a7452023db
Added mountinfo changes to node_exporter ( #1417 )
...
Use the extra information gleaned from the mountinfo file to add
a 'mountaddr' field for NFS metrics. This helps prevent prometheus from
ignoring mounts that come from the same URL, but are actually from
different IP addresses.
This commit also rebases to current master
Signed-off-by: Dipack P Panjabi <dpanjabi@hudson-trading.com>
5 years ago
Ben Kochie
852b340a46
Add changelog entry for #1439
...
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
Matthias Rampke
b133213c7a
Report non-fatal collection errors in the exporter metric. ( #1439 )
...
As per prometheus/client_golang#543 , pass the Registry for exporter
metrics when setting up the /metrics HTTP handler.
With this, the `promhttp_metric_handler_errors_total` metric will
increment on (possibly non-fatal) collection-time errors, such as
duplicate metrics from text files.
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
5 years ago
Bernd Müller
d2be72be4a
changed fields for disk write and read data of S.M.A.R.T, Signed-off-by: Bernd Mueller <mueller@b1-systems.de> ( #1235 )
...
Signed-off-by: Bernd Müller <mueller@b1-systems.de>
5 years ago
Björn Rabenstein
443072dfc3
Merge pull request #1438 from paulfantom/fix_selectors
...
docs/node-mixin: fix incorrect queries
5 years ago
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>
5 years ago
Björn Rabenstein
106b09b4ed
Merge pull request #1429 from prometheus/beorn7/mixin
...
First iteration for the node mixin, 2nd attempt.
5 years ago
beorn7
79f0357e38
Added `_excluding_lo` to name of network rules that exclude lo
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
36dc7451c9
Improvement of comments and panel titles
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
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>
5 years ago
beorn7
e01d9f9e78
Break out device in disk IO rules/dashboard
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
b8c4b0cb29
Removed unneeded `sum_` and `avg_` from rule names
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
706511a495
Responses to review comments, round 3
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
3a770a0b1d
Convert annotations from message to summary/description
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
a92d1d7889
Address review comments, batch 2
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
3ab1f41d12
Make more use of config.libsonnet
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
2180c2f3bf
Address first batch of old review comments
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
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>
5 years ago
Ben Kochie
0de95ef8f3
Add changelog entry for #1414
...
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
detailyang
7fe9713edf
bugfix: avoid nil reference when ignore is nil ( #1414 )
...
Signed-off-by: detailyang <detailyang@gmail.com>
5 years ago
beorn7
b3b47f2d07
Make selector naming consistent
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
dec5b5b053
Fix indentation
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
9d7045e483
(Re-)adjust to Grafana gauge expecting percentage 0-100 (rather than 1-0)
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
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>
5 years ago
秋葉
777b751f90
read /proc/net files with a single read syscall ( #1380 )
...
Signed-off-by: Hanaasagi <ambiguous404@gmail.com>
5 years ago
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>
5 years ago
beorn7
e5266c242e
Add README.md
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
f2891703a5
Add Makefile to easily make output files and lint sources
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
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>
5 years ago
beorn7
cd2981f1b8
Update vendoring to current location of jsonnet-libs
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
2df034c055
Move node-mixin into docs directory
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
61bcc5b468
Merge branch 'mixin' of git://github.com/tomwilkie/node_exporter into beorn7/mixin
5 years ago
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>
5 years ago
Simon Pasquier
0841244283
Use Prometheus Circle CI's orb ( #1412 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
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>
5 years ago
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>
5 years ago
yosefy
b4cc818347
fix for 'Celsius' spelling problem in storcli.py ( #1408 )
...
Signed-off-by: yosefy <yosef.yudilevich@gmail.com>
5 years ago
Nuno Tavares
3a576f64de
FIX ipmitool sensor discrete values are expressed in hex ( #1402 )
...
Signed-off-by: Nuno Tavares <n.tavares@portavita.eu>
5 years ago
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>
5 years ago
PrometheusBot
7e684f16ae
makefile: update Makefile.common with newer version ( #1399 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
5 years ago
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>
6 years ago
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>
6 years ago