dan mcweeney
1f6b5aee39
#219 - add fixes for @samzhang111 super token
2016-11-16 14:49:57 -05:00
dan mcweeney
8d756cab50
Fixes end to end test
2016-11-16 14:47:03 -05:00
dan mcweeney
00c9a88a55
Fixes #219 - use the default to catch personalities that are unknown
...
Assumes all raid configurations start with raid and that anything
else is unknown.
2016-11-16 14:47:03 -05:00
Ben Kochie
bb2b984030
Merge pull request #341 from EdSchouten/mdadm-attributes
...
mdstat: Fix parsing of RAID0 lines that contain additional attributes.
2016-11-16 17:55:21 +01:00
Ed Schouten
9749c2c0b3
mdstat: Fix parsing of RAID0 lines that contain additional attributes.
...
We seem to have a small number of Linux servers here that have lines in
/proc/mdstat that cannot be parsed by the node exporter, due to them
containing attributes that are not matched by the regular expression
("super 1.2").
Extend the regular expression to skip this data, just like we do for all
of the other status lines.
2016-11-16 17:21:25 +01:00
Ben Kochie
38ca73e783
Merge pull request #344 from prometheus/superq/disable_pcc
...
Disable broken ppc builds
2016-11-16 15:46:55 +01:00
Ben Kochie
887127e713
Disable broken ppc builds
...
Disable linux/{ppc64,ppc64le} until we figure out what is wrong with the
automated build pipeline.
2016-11-16 15:19:38 +01:00
Rene Treffer
abe8e297a6
Prefer device path based names over exported names ( #334 )
...
* Prefer device path based names over exported names
For some sensors (like coretemp) it is possible that multiple
instances exist, thus base the name on the device path and not on
the exported name.
* Update end-to-end test for dual socket machines
Explicitly have 2 coretemp instances with a symlink for the device
such that the hwmon collector must pick that name (or fail)
2016-10-28 20:25:44 +01:00
Ben Kochie
2ff8e5f0e4
Merge pull request #313 from prometheus/superq/v0.13.0rc1
...
Prepare for 0.13.0-rc.1 release.
2016-10-16 14:32:21 +02:00
Ben Kochie
2ccc8bd1b1
Fixup: Remove ConstMetrics changelog entries.
2016-10-16 13:20:57 +02:00
Ben Kochie
0a9f1236ea
Fixup: Adjust version in changelog.
2016-10-16 13:20:19 +02:00
Ben Kochie
e40efa1914
Prepare for 0.13.0-rc.1 release.
...
* Update CHANGELOG.md.
* Update VERSION.
2016-10-16 13:07:22 +02:00
Ben Kochie
c6162312f2
Add Linux NUMA "numastat" metrics ( #249 )
...
* Add Linux NUMA "numastat" metrics
Read the `numastat` metrics from /sys/devices/system/node/node* when reading NUMA meminfo metrics.
* Update end-to-end test output.
* Add `numastat` metrics as counters.
* Add tests for error conditions.
* Refactor meminfo numa metrics struct
* Refactor meminfoKey into a simple struct of metric data.
This makes it easier to pass slices of metrics around.
* Refactor tests.
* Fixup: Add suggested fixes.
* Fixup: More fixes
* Add another scanner.Err() return
* Add "_total" to counter metrics.
2016-10-12 13:07:49 +02:00
Rene Treffer
081ecc5db0
Add hwmon /sensors support ( #278 )
...
* Add hwmon support (mainly known from lm-sensors)
This commit adds initial support for linux hardware sensors, exported
through sysfs.
Details of the interface can be found at
https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface
* Add end-to-end test with some real life data
* Cleanup comments on hwmon collector
* Drop raw sensor name from hwmon output
* Let the sensor label be "sensor"
* Add hwmon short description to README.
2016-10-06 16:33:24 +01:00
stuart nelson
cf3710191a
Compile meminfo for dfly ( #315 )
...
* Compile meminfo for dfly
* Update README.me
2016-09-28 08:08:19 +01:00
stuart nelson
ef1925db7d
Compile netdev on dragonfly ( #314 )
...
* Compile netdev on dragonfly
* Only run netdev bsd test on bsd
* Update README.md
2016-09-27 21:44:13 +01:00
Julius Volz
f5a15ee404
Merge pull request #309 from prometheus/superq/mdstat
...
Fix mdadm collector for resync=PENDING.
2016-09-19 17:32:44 +02:00
Ben Kochie
afac1f7433
Update mdstat fixture based on linux source.
...
Update `Contains` matching for `resync=`
2016-09-19 16:11:16 +02:00
Ben Kochie
64b82596ef
Fix mdadm collector for resync=PENDING.
...
Add fix for mdadm devices in state `resync=PENDING`.
* Update test and fixture.
2016-09-18 08:30:20 +02:00
stuart nelson
61f36ac1ab
Activate filesystem collector on DragonFly ( #302 )
2016-09-11 12:08:00 -04:00
Steve Durrheimer
3fb4d99051
Merge pull request #301 from prometheus/sdurrheimer-promu-improvements
...
Update promu config file following recent changes + use the golang-bu…
2016-09-09 10:04:03 +02:00
Steve Durrheimer
70eba4b20c
circle: add tag v-prefix
2016-09-09 08:44:09 +02:00
Steve Durrheimer
4fd1b1d571
Update promu config file following recent changes + use the golang-builder base image for tests for CircleCI
2016-09-09 08:33:09 +02:00
Ben Kochie
1549f3087d
Merge pull request #294 from prometheus/sdurrheimer-use-promu-default-go-version
...
Use promu default go version + use 1.6 tag for cicleci tests
2016-08-31 09:00:12 +02:00
Steve Durrheimer
db0042152b
Use promu default go version + use 1.6 tag for cicleci tests
2016-08-30 09:32:05 +02:00
Takuya Nakaike
0f2a87ab22
add s390x support
2016-08-24 08:06:04 -04:00
Julius Volz
4932fcaa2e
Merge pull request #286 from carlpett/systemd-collector-filtering
...
Add ignored-units flag for systemd collector
2016-08-20 20:37:49 +02:00
Calle Pettersson
e890743f79
Add white/blacklisting of units for systemd collector
2016-08-20 13:08:03 +02:00
Julius Volz
428746c48e
Merge pull request #285 from prometheus/meminfo-bsd-constmetrics
...
Convert BSD meminfo collector to use ConstMetrics
2016-08-14 20:14:13 +02:00
Julius Volz
f0796683fe
Convert BSD meminfo collector to use ConstMetrics
...
This suffers from the same concurrency bug as the netstat one:
https://github.com/prometheus/node_exporter/issues/280
2016-08-13 00:40:29 +02:00
Julius Volz
c0b46391e2
Merge pull request #283 from prometheus/meminfo-constmetrics
...
Convert meminfo collector to use ConstMetrics
2016-08-12 19:02:30 +02:00
Brian Brazil
25289c5024
Merge pull request #284 from prometheus/sockstat-constmetrics
...
Convert sockstat collector to use ConstMetrics
2016-08-12 00:42:23 +01:00
Julius Volz
cef3d98256
Convert sockstat collector to use ConstMetrics
...
This suffers from the same concurrency bug as the netstat one:
https://github.com/prometheus/node_exporter/issues/280
2016-08-12 01:36:42 +02:00
Brian Brazil
1001548e43
Merge pull request #282 from prometheus/filefd-constmetrics
...
Convert filefd collector to use ConstMetrics
2016-08-12 00:33:59 +01:00
Julius Volz
eac396c637
Convert meminfo collector to use ConstMetrics
...
This suffers from the same concurrency bug as the netstat one:
https://github.com/prometheus/node_exporter/issues/280
2016-08-12 01:30:15 +02:00
Julius Volz
f91bca427b
Convert filefd collector to use ConstMetrics
...
This suffers from the same concurrency bug as the netstat one:
https://github.com/prometheus/node_exporter/issues/280
2016-08-12 01:26:25 +02:00
Julius Volz
9128952454
Fix end-to-end tests after netstat conversion
2016-08-12 01:09:20 +02:00
Julius Volz
55761fc788
Merge pull request #281 from prometheus/netstat-const-metrics
...
Convert netstat collector to use ConstMetrics
2016-08-12 00:57:02 +02:00
Julius Volz
8c5c880705
Convert netstat collector to use ConstMetrics
...
Fixes https://github.com/prometheus/node_exporter/issues/280
2016-08-12 00:34:00 +02:00
Julius Volz
b55019f10b
Merge pull request #275 from thomasf/mdstat-tabs
...
Fix mdstat tabs parsing
2016-08-06 14:22:31 +02:00
Thomas Frössman
32e3445d72
Fix mdstat tabs parsing
2016-08-06 14:08:11 +02:00
Björn Rabenstein
d48453a61a
Merge pull request #268 from h3po/patch-1
...
Ignore partitions on NVME devices by default
2016-07-11 23:12:42 +02:00
Daniel
c3eba340e3
Update e2e-output.txt
2016-07-09 15:36:52 +02:00
Daniel
87b3df90e6
Update diskstats
2016-07-09 15:23:31 +02:00
Daniel
a7a8d088da
Ignore partitions on NVME devices by default
...
The convention of the linux driver is nvme($device)n($namespace)p($partition). On *bsd it seems to be different, using "ns" instead of "n" as the namespace separator.
2016-07-09 13:23:01 +02:00
Brian Brazil
f660b32f08
Merge pull request #267 from mgit-at/sockstat-rhe4
...
sockstat: add support for RHE4
2016-07-07 21:30:23 +01:00
Johannes 'fish' Ziemke
3f19ee6f02
Merge pull request #266 from prometheus/fish/darwin-enable-meminfo
...
Use meminfo_freebsd on darwin as well
2016-07-06 14:08:56 +02:00
Johannes 'fish' Ziemke
7e5aaa9e33
Use meminfo_freebsd on darwin as well
2016-07-06 12:12:16 +02:00
Johannes 'fish' Ziemke
6350ef6d17
Merge pull request #265 from prometheus/fish/darwin-filesystem-stats
...
Enable *bsd collector on darwin
2016-07-06 10:46:39 +02:00
Johannes 'fish' Ziemke
4b04d04558
Enable *bsd collector on darwin
2016-07-06 10:24:20 +02:00