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
Simon Pasquier
a076cd3203
Use Circle CI's org context ( #1362 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-06-03 11:17:59 +02:00
Ben Kochie
fdf9846282
Fixup 0.17.0 changelog ( #1354 )
...
* Fix ordering of CHANGE items by PR number.
* Add missing CHANGE for #1003
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-06-02 10:51:07 +01:00
Ben Kochie
8146998945
Fix rollover bug in mountstats collector ( #1364 )
...
* Update procfs vendor to pull in github.com/prometheus/procfs/pull/165
* Update mountstats collector to use new types.
* Rollover counter automatically to avoid float64 accuracy issues.
* Update e2e test.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-05-31 18:30:37 +02:00
Noam Meltzer
501ccf9fb4
Add --collector.netdev.device-whitelist flag ( #1279 )
...
* Add --collector.netdev.device-whitelist flag
Sometimes it is desired to monitor only one netdev. The golang regexp
does not support a negated regex, so the ignored-devices flag is too
cumbersome for this task.
This change introduces a new flag: accept-devices, which is mutually
exclusive to ignored-devices. This flag allows specifying ONLY the
netdev you'd like.
Signed-off-by: Noam Meltzer <noam@cynerio.co>
2019-05-31 17:55:50 +02:00
Benjamin Drung
fc02b5dfbc
Make scripts in text_collector_examples executable ( #1358 )
...
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2019-05-29 06:58:03 -05:00
Benjamin Drung
dfb6002fad
btrfs_stats: Upgrade to Python 3 ( #1359 )
...
Python 2.7 will not be maintained past 2020. Therefore upgrade
`text_collector_examples/btrfs_stats.py` to Python 3.
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2019-05-29 06:57:23 -05:00
Paul Gier
bd3fc09b30
fix or ignore codespell issues ( #1351 )
...
Signed-off-by: Paul Gier <pgier@redhat.com>
2019-05-20 13:05:39 -05:00
PrometheusBot
2a9939fcf3
Synchronize Makefile.common from prometheus/prometheus ( #1346 )
...
* makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
* Remove obsolete release tool.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-05-14 20:27:02 -05:00
David O'Rourke
814ef064c0
meminfo: Fix the size mismatch in the swapTotal check mib for BSD. ( #1345 )
...
Signed-off-by: David O'Rourke <david.orourke@gmail.com>
2019-05-14 17:42:36 -05:00
Ben Kochie
f10c665d33
Cleanup uname Update call ( #1342 )
...
Make collector a pointer for consistency.
Fixes: https://github.com/prometheus/node_exporter/issues/1300
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-05-13 11:44:12 -05:00
Paul Gier
8b13c130b7
log pid when there is a problem reading the process stats ( #1341 )
...
Signed-off-by: Paul Gier <pgier@redhat.com>
2019-05-10 13:04:26 -05:00
Paul Gier
d0a66c4c40
use sys/unix package instead of syscall ( #1340 )
...
According to the golang docs, the syscall package is deprecated.
https://golang.org/pkg/syscall
This updates collectors to use the x/sys/unix package instead.
Also updates the vendored x/sys/unix module to latest.
Signed-off-by: Paul Gier <pgier@redhat.com>
2019-05-10 13:04:06 -05:00
Ben Kochie
f97f01c46c
Update for 0.18.0 release ( #1337 )
...
* Update CHANGELOG for release.
* Bump VERSION.
* Update vendoring.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-05-09 13:19:12 -05:00
Daniel Hodges
7882009870
Add perf exporter ( #1274 )
...
Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
2019-05-07 13:21:41 +02:00
PrometheusBot
0c6b90be4e
makefile: update Makefile.common with newer version ( #1332 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-05-07 06:38:46 +02:00
Paul Gier
86f9079429
update procfs to latest ( #1335 )
...
Updates for procfs refactoring
Signed-off-by: Paul Gier <pgier@redhat.com>
2019-05-07 06:38:21 +02:00
Simon Pasquier
c7abeae816
*: enable default linters ( #1334 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-05-06 15:42:50 +02:00
Simon Pasquier
c3ce1ea6d8
*: bump Go version to 1.12 ( #1329 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-04-26 11:20:37 +02:00
PrometheusBot
b5cab091dc
Synchronize Makefile.common from prometheus/prometheus ( #1328 )
...
* makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
* Add .golangci.yml
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-04-25 10:53:48 +02:00
Ben Kochie
78b9eb9c2c
Use 64-bit Darwin netstat counters ( #1319 )
...
Avoid 32-bit counter rollovers.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-04-25 10:07:56 +02:00
Christian Hoffmann
36e3b2a923
textfile: use opened file's mtime as timestamp ( #1326 )
...
Previously, the node_textfile_mtime_seconds metric was based on the
Fileinfo.ModTime() of the ioutil.ReadDir() return value. This is based
on lstat() and therefore has unintended consequences for symlinks
(modification time of the symlink instead of the symlink target is
returned). It is also racy as the lstat() is performed before reading
the file.
This commit changes the node_textfile_mtime_seconds metric to be based
on a fresh Stat() call on the open file. This eliminates the race and
works as expected for symlinks. Fixes #1324 .
Signed-off-by: Christian Hoffmann <mail@hoffmann-christian.info>
2019-04-18 17:47:04 +02:00
Daniele Sluijters
5b4140e0bd
README: Move pressure to enabled table ( #1325 )
...
Follow-up from #1261 .
Signed-off-by: Daniele Sluijters <daenney@users.noreply.github.com>
2019-04-18 13:52:14 +02:00
Daniele Sluijters
cc2fd82008
Expose /proc/pressure ( #1261 )
...
This enables the collection of pressure stall information as exposed
by the `/proc/pressure` interface added in the 4.20 release of the
Linux kernel.
Closes #1174
Signed-off-by: Daniele Sluijters <daenney@users.noreply.github.com>
2019-04-18 12:19:20 +02:00
Johannes Würbach
4e5c4d464f
Docker images for ARM32v7, ARM64v8 and ppc64le ( #1207 )
...
Build and publish ARM32v7, ARM64v8 and ppc64le docker images.
Signed-off-by: Johannes Würbach <johannes.wuerbach@googlemail.com>
2019-04-15 17:36:25 +02:00
Ben Kochie
e71e9f5a2f
Update vendoring ( #1304 )
...
Update to current vendoring.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-04-15 14:00:19 +02:00
Paul Gier
b1298677aa
Early init of procfs ( #1315 )
...
Minor change to match naming convention in other collectors.
Initialize the proc or sys FS instance once while initializing
each collector instead of re-creating for each metric update.
Signed-off-by: Paul Gier <pgier@redhat.com>
2019-04-10 18:16:12 +02:00
Henk
fbe390709f
Add nvme_metrics.sh text collector example ( #1309 )
...
* Add nvme_metrics.sh text collector example
Signed-off-by: Henk <henk@wearespindle.com>
2019-04-08 15:50:29 +02:00
Shawn Craver
b8b0195d6d
OpenBSD rc.d script ( #1306 )
...
* OpenBSD rc.d script
Signed-off-by: Shawn Craver <craversp@gmail.com>
2019-04-04 13:06:31 +02:00
Théo Brigitte
4d88761c13
update github.com/godbus/dbus to latest master ( #1305 )
...
* update github.com/godbus/dbus to 271e53dc4968a0f8862f20841cc63bb5f43d6c57
Signed-off-by: Theo Brigitte <theo.brigitte@gmail.com>
2019-04-03 12:32:48 +02:00
Simon Pasquier
dbe7badc7c
Update Makefile.common ( #1288 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-03-25 12:47:57 +01:00
Edgaras Giedrė
2f87b7cba6
Update smartmon.py to widen self_assessment_passed test ( #1293 )
...
Signed-off-by: EdgarasG <edgaras.giedre@hostinger.com>
2019-03-20 09:38:41 +01:00
Johannes 'fish' Ziemke
d2136aace0
Update README: Add note about ts in textfile
...
This closes #1284
2019-03-19 11:23:17 +01:00
Slawomir Gonet
19e5bb6abd
yum.sh: yum update monitor ( #1273 )
...
Signed-off-by: Slawomir Gonet <slawek@otwiera.cz>
2019-02-28 00:12:47 +01:00
Julian Kornberger
5110efc1cd
Translate smartmon.py to Python ( #1225 )
...
* Add smartmon.py python port of the smartmon.sh bash script
Signed-off-by: Arthur Skowronek <ags@digineo.de>
2019-02-27 22:19:55 +01:00