Commit Graph

5 Commits

Author SHA1 Message Date
Brian Brazil d2bc8b7cca Fix typo 2014-06-04 13:43:57 +01:00
Brian Brazil 25ea90369c Split native collector into it's component parts and make them enablable.
Last login is disabled by default as it's broken on ubuntu 12.04
Interrupts is disabled by default as it's very granular and we'll have total interrupts from /proc/stat

Allow ignoring devices from diskstats, ignore ram and loop devices by default.

Use glog for logging.
2014-06-04 12:37:25 +01:00
Johannes 'fish' Ziemke f8c5bc9f2b Add build example to README.md 2014-02-12 11:24:26 +01:00
Johannes 'fish' Ziemke 04380ae60a Add support for selecting collectors at buildtime
This works by using a global array with references to NewXCollector
functions. Each collector appends to that array in it's init() function.

Which file gets build depends on the build tags:

To build only the ganglia exporter, you can do:

    go build -tags nonative,ganglia

By default it will build only the native collector.
2014-02-12 11:16:53 +01:00
Johannes 'fish' Ziemke 051b651fa8 Initial commit 2013-04-18 07:44:52 -07:00