Commit Graph

903 Commits

Author SHA1 Message Date
Robert Clark
3a5917dfdc Add support for legacy InfiniBand drivers
Older versions of the OFED drivers contain 64-bit variants of the port counters and are located in a directory named 'counters_ext'. This patch includes these older metrics that have since been deprecated with OFED 4.0.

Signed-Off-By: Robert Clark <robert.d.clark@hpe.com>
2017-03-20 10:37:21 -05:00
Ben Kochie
8529cd3359 Merge pull request #522 from prometheus/grobie/fix-md-disks-active
Fix and simplify parsing of raid metrics
2017-03-20 07:57:28 +01:00
Tobias Schmidt
0400e437be Fix and simplify parsing of raid metrics
Fixes the wrong reporting of active+total disk metrics for inactive
raids. Also simplifies the code and removes a couple of redundant
comments.
2017-03-19 08:03:58 -03:00
Ben Kochie
faa7483215 Merge pull request #520 from mdlayher/bump-wifi
Bump github.com/mdlayher/wifi to relax station info restrictions
2017-03-18 10:15:36 +01:00
Matt Layher
c0cc85716a
Bump github.com/mdlayher/wifi to relax station info restrictions 2017-03-17 15:24:24 -04:00
Julius Volz
38a4292360 Merge pull request #519 from mdlayher/wifi-unexport
Unexport wifiCollector metrics
2017-03-16 22:21:16 +01:00
Matt Layher
42c8a20545
Unexport wifiCollector metrics 2017-03-16 17:11:09 -04:00
Julius Volz
edf1630f93 Merge pull request #513 from mdlayher/wifi-bss-info
Add synthetic node_wifi_station_info metric for BSS information
2017-03-16 22:06:56 +01:00
Matt Layher
69368b7f9c Add synthetic node_wifi_station_info metric for BSS information 2017-03-16 16:24:23 -04:00
Brian Brazil
a02e469b07 Report collector success/failure and duration per scrape. (#516)
This is in line with best practices, and also saves us
63 timeseries on a default Linux setup.
2017-03-16 17:21:00 +00:00
Ben Kochie
7426dc9460 Merge pull request #514 from prometheus/grobie/handle-collector-errors
Continue scrape with duplicated metrics
2017-03-15 09:09:56 +01:00
Tobias Schmidt
dace41e3d4 Continue scrape with duplicated metrics
Problems of a single collector, like duplicated metrics read via the
textfile collector, should not fail the collection and export of other
metrics.
2017-03-14 00:38:02 -03:00
Tobias Schmidt
a0a0dbaad0 Remove golang 1.7 from CI test matrix
As staticcheck requires now golang 1.8 as minimum version, the easiest
solution was to side step that issue and simply stop testing on go 1.7.
2017-03-14 00:19:45 -03:00
Tobias Schmidt
b3471e1d83 Merge pull request #507 from mdlayher/vendor-netlink
Update github.com/mdlayher/netlink with code simplifications
2017-03-13 23:59:50 -03:00
Ben Kochie
e7d0c08314 Merge pull request #512 from mdlayher/issue-template
Add a GitHub issue template
2017-03-13 20:16:04 +01:00
Matt Layher
3f9115742c
Add a GitHub issue template 2017-03-13 14:28:31 -04:00
Matt Layher
db15c0e365
Update github.com/mdlayher/netlink with code simplifications 2017-03-10 12:32:29 -05:00
Tobias Schmidt
d92dc8cabe Merge pull request #505 from roclark/fix-no-infiniband-files
Skip metric files that don't exist
2017-03-09 14:36:02 -03:00
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