Commit Graph

720 Commits

Author SHA1 Message Date
Tobias Schmidt
ce117d7a40 Update vendored packages 2017-02-28 18:20:24 -04:00
Tobias Schmidt
84eaa8fecd Remove more unnecessarily named return values 2017-02-28 17:33:46 -04:00
Derek Marcotte
5c28ab044d Add BSD exec statistics collector (#457)
* First pass of a sysctl_bsd source, exec_bsd + exec metrics

* Incorportate PR feedback, including removing pre-build descriptions, unit conversion callback.

* Remove redundant cached_description field, per PR feedback

* Incorporate PR feedback
2017-02-28 17:23:10 -04:00
Tobias Schmidt
c6e66756b3 Merge pull request #483 from prometheus/grobie/more-cleanups
Delete unused code
2017-02-28 17:20:35 -04:00
Tobias Schmidt
1bd94074dd Delete unused code 2017-02-28 17:20:16 -04:00
Tobias Schmidt
a7da926abb Merge pull request #482 from prometheus/grobie/fix-invalid-scanner-usage
Fix scanner usage without error handling
2017-02-28 17:17:52 -04:00
Tobias Schmidt
922e74d58f Remove unnecessarily named return variables
Named return variables should only be used to describe the returned type
further, e.g. `err error` doesn't add any new information and is just
stutter.
2017-02-28 16:04:25 -04:00
Tobias Schmidt
084e585c2a Fix scanner usage without error handling 2017-02-28 16:04:25 -04:00
Tobias Schmidt
d1dfda86ee Fix wrong end-to-end expectation 2017-02-28 16:02:43 -04:00
Tobias Schmidt
1a76b5e861 Merge pull request #481 from prometheus/grobie/goreportcard
Add goreportcard
2017-02-28 14:29:50 -04:00
Tobias Schmidt
abdebef47c Fix gofmt -s and spelling issues 2017-02-28 14:01:28 -04:00
Tobias Schmidt
2ccd3340df Add goreportcard to README 2017-02-28 14:01:28 -04:00
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