Commit graph

758 commits

Author SHA1 Message Date
Tobias Schmidt 195b4d596c Merge pull request #480 from prometheus/grobie/gosimple
Simplify go code
2017-02-28 13:59:01 -04:00
Tobias Schmidt 694294baf5 Remove unnecessary conversions 2017-02-28 13:57:49 -04:00
Tobias Schmidt 21e13c7f52 Simplify code 2017-02-28 13:54:27 -04:00
Tobias Schmidt e15263fd9f Merge pull request #479 from prometheus/grobie/fix-vet-and-lint-errors
Fix all open go lint and vet issues
2017-02-28 13:20:31 -04:00
Tobias Schmidt c703435790 Fix all open go lint and vet issues 2017-02-28 13:05:38 -04:00
Tobias Schmidt eb6c109a63 Merge pull request #477 from bs-github/fix/Makefile-test-e2e
Disable end-to-end tests for non Linux OSes in Makefile
2017-02-28 10:24:24 -04:00
Birger Schmidt 6cb6e38bbb disable end-to-end tests for non Linux OSes in Makefile
The End-to-end tests as they are now, are very dependent on running on Linux.
This makes the Makefile more OS agnostic regarding end to end tests.
2017-02-28 13:17:06 +01:00
Ben Kochie 5289ffb270 Merge pull request #472 from prometheus/fix-docker-image-dynamic-linked-binary
Make the docker image work until we fix linux/amd64 static build.
2017-02-25 15:47:14 +01:00
Steve Durrheimer e8d724c547
Fix docker image by using glibc variation of quay.io/prometheus/busybox
This make the docker image work until we find how to rebuild node_exporter statically for linux/amd64
2017-02-25 15:26:43 +01:00
Ben Kochie 12ed1af882 Merge pull request #463 from prometheus/bjk/more_ntpd_metrics
Add ntpd metrics from ntpq rv
2017-02-24 10:11:44 +01:00
Björn Rabenstein 13b011ed7a Merge pull request #468 from prometheus/beorn7/meta
Replace AUTHORS.md by an updated MAINTAINERS.md
2017-02-19 20:06:37 +01:00
beorn7 0126aca138 Replace AUTHORS.md by an updated MAINTAINERS.md 2017-02-19 18:27:34 +01:00
Ben Kochie 38cd07ebb9 Merge pull request #450 from roclark/add-infiniband
infiniband: Add new collector for InfiniBand statistics
2017-02-16 14:33:19 +01:00
Ben Kochie a097dd36b3 Merge pull request #459 from joehandzik/wip-zpool-io-cherrypick
ZFS Collector: Add zpool IO statistics
2017-02-16 08:16:55 +01:00
Ben Kochie 6bf0409b0e Merge pull request #454 from thorhs/master
buddyinfo: Add support for /proc/buddyinfo for linux free memory fragmentation.
2017-02-16 08:14:34 +01:00
Thorhallur Sverrisson 8d5e0aeba0 Adding self to AUTHORS.md 2017-02-15 16:10:43 -06:00
Thorhallur Sverrisson 19813d3e02 Changing datastructure for BuddyInfo 2017-02-15 10:15:44 -06:00
Thorhallur Sverrisson 5ab285e098 Adding buddyinfo to end to end test. 2017-02-15 10:15:44 -06:00
Thorhallur Sverrisson 55417d7688 Moving buddyinfo logic to procfs 2017-02-15 10:15:44 -06:00
Thorhallur Sverrisson 2f16f6b84e Adding buddyinfo to README.md 2017-02-15 10:15:43 -06:00
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