Commit graph

2229 commits

Author SHA1 Message Date
Tobias Schmidt c6c67553e0 Test node_exporter for file descriptor leaks 2017-03-05 21:57:41 -04:00
Tobias Schmidt 301d8e4bc0 Don't declare real dependencies as phony targets
This will execute these targets every single time, even if they already
exist on disk.
2017-03-04 12:56:26 -04:00
Ben Kochie bca82f2a57 Merge pull request #448 from mdlayher/ci-staticcheck
Run staticcheck from Makefile, remove duplicate end-to-end test call …
2017-03-04 16:55:12 +01:00
Tobias Schmidt 6aa9afc8df Merge pull request #488 from mdlayher/vendor-netlink
Bump github.com/mdlayher/netlink to clean up on bind failure
2017-03-03 10:45:45 -04:00
Matt Layher 748f835171
Run staticcheck from Makefile, remove duplicate end-to-end test call in CI 2017-03-02 10:52:41 -05:00
Matt Layher 17a6ed5355
Bump github.com/mdlayher/netlink to clean up on bind failure 2017-03-02 10:50:14 -05:00
Matt Layher 6fa6f476c7 Bump github.com/mdlayher/wifi to fix #486 (#487) 2017-03-01 18:20:57 -04:00
Ben Kochie 5d22d41ed7 Merge pull request #484 from prometheus/grobie/update-vendored-packages
Update vendored packages
2017-03-01 08:05:45 +01:00
Derek Marcotte bdc2131332 Added node_memory_buffer, node_memory_swaptotal to meminfo_bsd (#451) 2017-03-01 01:36:02 -04:00
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