Commit graph

448 commits

Author SHA1 Message Date
Siavash Safi d80b2af492 loadavg: Split the collector for linux and other platforms. 2015-07-14 13:58:51 +04:30
Siavash Safi 720198e047 netdev: Code cleanup. 2015-07-14 13:58:51 +04:30
Siavash Safi 78bf63ffd8 filesystem: Code cleanup. 2015-07-14 13:58:50 +04:30
Siavash Safi 462b708742 cpu: Code cleanup. 2015-07-14 13:58:50 +04:30
Siavash Safi f93125ba10 loadavg: Remove unnecessary global variable. 2015-07-14 13:58:49 +04:30
Siavash Safi ccbea34465 filesystem: Remove unused const variable. 2015-07-14 13:58:49 +04:30
Siavash Safi 71abff14b1 devstat: Fix wrong labels for 'other' metrics. 2015-07-14 13:58:49 +04:30
Siavash Safi c5669f0a1a Add devstat collector for FreeBSD. 2015-07-14 13:58:48 +04:30
Siavash Safi f7563fe7a2 Remove config from collectors. 2015-07-14 13:58:48 +04:30
Siavash Safi 1ebda4c0aa Remove linux build contraint from meminfo test source code. 2015-07-14 13:58:48 +04:30
Siavash Safi 9b6843db60 netdev: use counters instead of gauges. 2015-07-14 13:58:47 +04:30
Siavash Safi c651d7ccd9 meminfo: use bytes, fix type conversion bug. 2015-07-14 13:58:47 +04:30
Siavash Safi a10ab2c102 Check caller's euid and egid when accessing /dev/mem on FreeBSD. 2015-07-14 13:58:47 +04:30
Siavash Safi 6ef3b7a4e8 Add filesystem collector for FreeBSD. 2015-07-14 13:58:46 +04:30
Siavash Safi 13d5f969a5 Removed freebsd build constraints from source code. 2015-07-14 13:58:46 +04:30
Siavash Safi ae5aea0191 Add netdev collector for FreeBSD. 2015-07-14 13:58:46 +04:30
Siavash Safi 66e0171159 Rename linux collectors for build constraints. 2015-07-14 13:58:45 +04:30
Siavash Safi d7ec7eac1f Revert "Add build constraint for linux collectors." 2015-07-14 13:58:44 +04:30
Siavash Safi 4c5db2787e Add meminfo collector for FreeBSD. 2015-07-14 13:58:44 +04:30
Siavash Safi ad73b87d1e Add build constraint for linux collectors. 2015-07-14 13:58:44 +04:30
Siavash Safi 23bb9c44b9 Add cpu collector for FreeBSD. 2015-07-14 13:58:43 +04:30
Siavash Safi f9fa6d05cf loadavg: Use getloadavg() from stdlib.h 2015-07-14 13:58:42 +04:30
Julius Volz 0f0daef4e0 Merge pull request #94 from supershabam/master
Allows netdev devices to be ignored
2015-07-14 01:50:19 +02:00
Ian Hansen 64affe205b Allows netdev devices to be ignored 2015-07-13 17:18:34 -06:00
Julius Volz 2824530d16 Merge pull request #93 from sdurrheimer/master
New Dockerfile using alpine-golang-make-onbuild base image
2015-07-12 13:13:53 -06:00
Steve Durrheimer ef08f73c0e Add Docker instructions to the README 2015-07-11 13:18:47 +02:00
Steve Durrheimer ab1541e648 New Dockerfile using alpine-golang-make-onbuild base image 2015-07-07 21:56:19 +02:00
Steve Durrheimer ab7826fb39 Update Makefile.COMMON from prometheus/utils 2015-07-07 21:56:19 +02:00
Julius Volz 5558fb0ffc Merge pull request #91 from wrouesnel/master
Add device,fstype collection to the filesystem exporter.
2015-07-07 11:34:16 -06:00
Will Rouesnel 676ed5c6ac Change "filesystem" to "mountpoint" to better reflect the new labels. 2015-07-07 02:40:19 +10:00
William Rouesnel b22d2e9739 Add device,fsType collection to the filesystem exporter.
Collects more information for labelling scraped filesystems with the device
and fsType. This is useful for setting alerts which should change based on
filesystem type, or for filtering out shared mounts such as with NFS volumes.
2015-07-03 11:05:03 +10:00
Julius Volz a9f5316bb3 Merge pull request #87 from prometheus/adjust-logging
Make logging of collector executions less verbose.
2015-06-22 13:50:35 +02:00
Julius Volz e606744068 Make logging of collector executions less verbose.
This fixes https://github.com/prometheus/node_exporter/issues/86
2015-06-22 13:32:31 +02:00
Julius Volz 484eedbf01 Merge pull request #83 from prometheus/v0.10
Cut version 0.10.0.
2015-06-10 17:56:11 +02:00
Julius Volz 8b3cf08b03 Cut version 0.10.0. 2015-06-10 17:53:36 +02:00
Julius Volz 94d225919b Merge pull request #79 from prometheus/migrate-logging
Switch logging from glog to github.com/prometheus/log
2015-05-28 21:58:02 +02:00
Julius Volz e65bc868fc Switch logging from glog to github.com/prometheus/log. 2015-05-28 21:34:02 +02:00
Julius Volz 9f046cd88e Run gofmt. 2015-05-28 21:22:03 +02:00
Matthias Rampke c1992f18e5 Add date in Changelog entry. 2015-05-26 08:36:17 +00:00
Matthias Rampke a7c682cf70 Merge pull request #78 from matthiasr/cut-0.9.0
Cut release 0.9.0
2015-05-26 10:33:10 +02:00
Matthias Rampke 433e2c584f Cut release 0.9.0
This release adds the IPVS collector and removes the deprecated
attributes collector.
2015-05-24 09:45:20 +00:00
Julius Volz b539481503 Merge pull request #75 from prometheus/remove-attribute-module
Use flags instead of config and remove attributes
2015-05-21 11:49:01 +02:00
Johannes 'fish' Ziemke 665b05eedc Use flags instead of config and remove attributes 2015-05-21 11:36:56 +02:00
Julius Volz 00ddf58a1b Merge pull request #76 from prometheus/fix-netdev-parsing
Fix /proc/net/dev column parsing.
2015-05-21 01:01:38 +02:00
Julius Volz 072ddabf62 Fix /proc/net/dev column parsing.
This fixes https://github.com/prometheus/node_exporter/issues/73
2015-05-21 01:01:15 +02:00
Julius Volz 5b20dad9ad Merge pull request #68 from matthiasr/remove-cgo-dependency
remove cgo dependency
2015-05-13 00:48:56 +02:00
Julius Volz 4c6b8ec93b Merge pull request #69 from matthiasr/sort-collector-names
Sort collector names.
2015-05-13 00:47:05 +02:00
Matthias Rampke 57a6701dc9 Sort collector names.
This makes the `-collectors.print` output easier to read.
2015-05-12 15:04:08 +00:00
Matthias Rampke 2ee8470004 remove cgo dependency
by hardcoding `USER_HZ` (aka. `_SC_CLK_TCK`) to 100, which it is for all
platforms Go supports. See prometheus/node_exporter#52 for discussion around this too.

Closes prometheus/node_exporter#52.
2015-05-12 14:24:48 +00:00
Julius Volz b4f40ab13f Merge pull request #67 from matthiasr/ipvs-metrics
Add IPVS stats collector.
2015-05-12 13:28:02 +02:00