Commit graph

788 commits

Author SHA1 Message Date
Thorhallur Sverrisson 492c96f6b6 Moving buddyinfo_test.go to procfs library 2017-02-15 10:15:43 -06:00
Thorhallur Sverrisson 3ba15c1ddb Adding support for /proc/buddyinfo for linux free memory fragmentation.
/prod/buddyinfo returns data on the free blocks fragments available
for use from the kernel.  This data is useful when diagnosing
possible memory fragmentation.

More info can be found in:
* https://lwn.net/Articles/7868/
* https://andorian.blogspot.com/2014/03/making-sense-of-procbuddyinfo.html
2017-02-15 10:15:43 -06:00
Tobias Schmidt dc863551bd Merge pull request #465 from mdlayher/bump-procfs
Update vendored procfs for buddyinfo, mountstats, and XFS changes
2017-02-14 11:33:23 -05:00
Matt Layher 5c6ff86f9d
Update vendored procfs for buddyinfo, mountstats, and XFS changes 2017-02-14 11:04:28 -05:00
Ben Kochie 58c10628d8 Add ntpd metrics from ntpq rv
Add some metrics using to the ntpd helper script using the "request
value"[0] command.

[0]: https://www.eecis.udel.edu/~mills/ntp/html/ntpq.html#system
2017-02-14 16:20:53 +01:00
Johannes 'fish' Ziemke d354971e81 Merge pull request #458 from prometheus/bjk/ntpd_metrics
Add a textfile helper for NTPd.
2017-02-14 12:43:40 +01:00
Tobias Schmidt 665f4e8869 Merge pull request #444 from mdlayher/vendor-procfs
Bump github.com/prometheus/procfs for uint64 mountstats counters
2017-02-13 01:14:35 -05:00
Joe Handzik bb8b3fca88 ZFS Collector: Add zpool IO statistics
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-02-10 13:31:25 -06:00
Ben Kochie bde6e5d290 Add a textfile helper for NTPd.
Parse the output of `ntpq -np` to provide metrics from a local NTP
daemon.
2017-02-10 16:38:39 +01:00
Robert Clark f809bfdde6 Update authors after InfiniBand commit
Signed-Off-By: Robert Clark <robert.d.clark@hpe.com>
2017-02-07 11:09:08 -06:00
Robert Clark b2d2b69af6 Update README to include InfiniBand collector
Signed-Off-By: Robert Clark <robert.d.clark@hpe.com>
2017-02-07 11:09:08 -06:00
Robert Clark b0c9133cba Enable InfiniBand by default
Signed-Off-By: Robert Clark <robert.d.clark@hpe.com>
2017-02-07 11:09:08 -06:00
Robert Clark 36f81282b7 Add unit tests for InfiniBand collector
Signed-Off-By: Robert Clark <robert.d.clark@hpe.com>
2017-02-07 11:09:08 -06:00
Robert Clark 4866adcb71 Add new collector for InfiniBand statistics
Add new metrics for the InfiniBand network protocol including the amount of packets sent and received, the number of times the link has been downed and how many times the link has recovered from an error state.

Signed-Off-By: Robert Clark <robert.d.clark@hpe.com>
2017-02-07 11:09:08 -06:00
Matt Layher ba635842fc Add wifi collector to default collectors (#447) 2017-02-04 07:44:01 +00:00
Matt Layher 44d542b286
Bump github.com/prometheus/procfs for uint64 mountstats counters 2017-02-01 14:13:59 -05:00
Ben Kochie 428bc92b1c Merge pull request #443 from joehandzik/wip-fix-zfs-fm-names
ZFS Collector: Convert dashes to underscores for metrics
2017-02-01 03:30:40 -05:00
Joe Handzik 8c23f5ff54 ZFS Collector: Convert dashes to underscores for metrics
This fixes #442, and prevents other ZFS metrics from slipping through in the future.

Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-01-31 14:11:56 -06:00
Ben Kochie 7cfa5e75b8 Merge pull request #439 from mdlayher/collector-staticcheck
Fix two staticcheck issues in IPVS collector tests
2017-01-31 08:53:10 -05:00
Ben Kochie 71362d45eb Merge pull request #432 from joehandzik/wip-zfs-zfetchstats
Update ZFS Collector with most non-zpool metrics
2017-01-31 08:52:41 -05:00
Joe Handzik e5ee274a32 ZFS Collector: Move from camelcase to underscores for metric prefixes
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-01-29 15:59:01 -06:00
Matt Layher c8e546926a
Fix two staticcheck issues in IPVS collector tests 2017-01-27 15:20:36 -05:00
Joe Handzik e213ccbc57 ZFS Collector: Refactor to use maps/slices and fewer globals
Removed all global types that were unnecessary, and refactored to use constructor-created values and inline values instead of globals.

Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-01-27 14:02:28 -06:00
Johannes 'fish' Ziemke 0a7f124fe8 Merge pull request #434 from prometheus/bjk/mountstats_mountpoint
Handle multiple NFS device mounts
2017-01-26 20:28:16 +01:00
Ben Kochie ae34006f68 Merge pull request #436 from moorereason/readme1
Add missing collectors to README
2017-01-26 03:30:17 -05:00
Cameron Moore f4d24e5044 Add missing collectors to README 2017-01-25 21:06:10 -06:00
Ben Kochie 5a6db5c8d2 Handle multiple NFS device mounts
It's possible to mount an NFS share in multiple locations.
* Duplicates contain the same metric values, so they can be ignored.
* Update fixture.
2017-01-24 13:44:08 +01:00
Joe Handzik 1dde3ec31b README.md: Remove note about ZFS being limited to ARC
Because it's not true after this PR goes up.

Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-01-23 16:41:15 -06:00
Joe Handzik 94fb93a9f3 ZFS Collector: Add dmu_tx functionality
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-01-23 16:41:15 -06:00
Joe Handzik 07c7ae733a ZFS Collector: Add fm functionality
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-01-23 16:31:22 -06:00
Joe Handzik 05048c067d ZFS Collector: Add xuio_stats functionality
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-01-23 16:30:37 -06:00
Joe Handzik 3c9e779989 ZFS Collector: Add vdev_cache_stats functionality
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-01-23 16:29:50 -06:00
Joe Handzik a02ca9502c ZFS Collector: Add zil functionality
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-01-23 16:29:00 -06:00
Joe Handzik a3125ab4d9 ZFS Collector: Add zfetchstats functionality
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
2017-01-23 16:28:11 -06:00
Brian Brazil 8d4f36aa42 Point to WMI exporter (#431)
There's a slow trickle of people trying to use the node exporter on windows, so point them in the right direction.
2017-01-23 19:57:08 +00:00
Ben Kochie acb495ccab Merge pull request #425 from mdlayher/wifi-update
Update vendored wifi, handle stations with missing info
2017-01-20 08:43:44 -05:00
Ben Kochie 2a0c80cbe2 Fix example.rules typos.
Thanks for spotting those @grobie.
2017-01-17 21:52:59 +01:00
Tobias Schmidt 0429a4ffbe Merge pull request #427 from mdlayher/hwmon-silent-fail
Allow graceful failure in hwmon collector
2017-01-17 11:45:59 -05:00
Matt Layher dfd661a633
Allow graceful failure in hwmon collector 2017-01-17 11:24:28 -05:00
Matt Layher ca3f07feef
Update vendored wifi, handle stations with missing info 2017-01-17 00:54:18 -05:00
Ben Kochie 92537020a3 Fix runit collector flag typo. 2017-01-16 23:41:33 +01:00
Ben Kochie adb8904784 Merge pull request #422 from prometheus/superq/example_rules
Add an example rules file
2017-01-16 12:44:03 -05:00
Ben Kochie 5a07f4173d Merge pull request #423 from prometheus/superq/v0.14.0-rc.1
Release v0.14.0-rc.1.
2017-01-16 10:55:48 -05:00
Ben Kochie 0d4e881389 Release v0.14.0-rc.1.
* Update CHANGELOG
* Update VERSION
2017-01-15 18:31:20 +01:00
Ben Kochie c2cf0b15c0 Merge pull request #420 from prometheus/bjk/go_1.7
Use go 1.7
2017-01-14 20:20:52 -05:00
Ben Kochie d8e31f3ebd Add an example rules file
Add some useful examples for CPU metrics.
2017-01-14 16:24:29 +01:00
Julius Volz 276112c7ef Merge pull request #418 from mdlayher/wifi-graceful-fail
Make wifi collector fail gracefully if metrics not available
2017-01-13 20:31:21 -05:00
Matt Layher d3089f2ce8
Make wifi collector fail gracefully if metrics not available 2017-01-13 13:35:20 -05:00
Ben Kochie d20cb0f910 Use go 1.7
Update travis/circle CI builds to use Go 1.7.
2017-01-12 20:07:22 +01:00
Ben Kochie 9698b97ed1 Merge pull request #419 from mdlayher/zfs-fail-debug
Make ZFS collector fail gracefully when not available
2017-01-12 13:07:23 -05:00