Commit Graph

1185 Commits

Author SHA1 Message Date
Robert Clark
413e5af502 Skip metric files that don't exist
In case a metric file within the InfiniBand collector doesn't exist, skip the metric in order to allow collection of the remaining valid InfiniBand metrics.

Signed-Off-By: Robert Clark <robert.d.clark@hpe.com>
2017-03-09 11:05:36 -06:00
Derek Marcotte
72d8576185 Refactor meminfo_bsd.go to use sysctl_bsd.go (#501)
* Refactor meminfo_bsd.go to use sysctl_bsd.go

* Fixed spelling.
2017-03-07 21:54:28 -04:00
Ben Kochie
309b313162 Fix wording of megacli changelog entry. 2017-03-07 17:26:39 +01:00
Ben Kochie
0e60bb8e00 Merge pull request #441 from prometheus/superq/v0.14.0-rc.2
Release v0.14.0-rc.2
2017-03-07 15:37:39 +01:00
Ben Kochie
b3e924f00c Release v0.14.0-rc.2
* Update VERSION.
* Update CHANGELOG.
2017-03-07 15:26:39 +01:00
Ben Kochie
09e1374007 Merge pull request #495 from prometheus/grobie/fd-leak-test
Test node_exporter for file descriptor leaks
2017-03-06 22:29:28 +01:00
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