Commit Graph

120 Commits

Author SHA1 Message Date
Julius Volz
e65bc868fc Switch logging from glog to github.com/prometheus/log. 2015-05-28 21:34:02 +02:00
Johannes 'fish' Ziemke
665b05eedc Use flags instead of config and remove attributes 2015-05-21 11:36:56 +02:00
Matthias Rampke
37c7e5e60f Add IPVS stats collector.
This collector exposes IPVS status from `/proc/net/ip_vs` and stats from
`/proc/net/ip_vs_stats`.

Note that it is _not_ tested with IPv6, YMMV.
2015-05-08 14:02:47 +00:00
Tobias Schmidt
a814d7f8da Document how to enable logging
Not everyone might have experience with glog's default settings, this
change intends to make the start for new users easier.
2015-04-15 23:58:04 -04:00
Julius Volz
473016dd51 Backtick-quote path names in README.md. 2015-04-14 15:19:02 +02:00
Julius Volz
3ab0b1f915 Merge pull request #56 from kjmkznr/add-tcp-stat-collector
Add TCP state collector
2015-03-24 12:50:26 +01:00
KOJIMA Kazunori
e4da771b21 Add collector for /proc/net/tcp 2015-03-24 20:34:48 +09:00
Julius Volz
1bb9adb5f1 Link Travis badge to Travis build status page. 2015-03-21 11:32:18 +01:00
Julius Volz
c164557cba Wording/punctuation improvement in README.md. 2015-03-21 11:27:43 +01:00
Franklin Wise
4b53465c14 added travis automated build and status on the readme 2015-03-18 19:04:29 -07:00
Julius Volz
efcce45c90 Make collector-specific flags consistent with others.
This puts all collector-specific flags into their own namespace under
"collector.<collector-name>", and moves from camel case to dashes, which
is the standard in Prometheus land now.
2015-02-18 18:42:39 +01:00
Julius Volz
effc934777 Add tests and run info to README.md and Makefile. 2015-02-09 22:42:23 +01:00
juliusv
12c1caacee Fix typo in README.md 2015-02-09 12:00:05 +01:00
Brian Brazil
6ee77bd00a Flesh out readme. 2015-02-09 10:50:20 +00:00
Tobias Schmidt
211ddf33f1 Consolidate collector selection
Remove special tags necessary for gmond and runit collectors. All
collectors get built. Selection of which collectors to use continues to
happen via parameter.
2014-11-25 18:01:02 -05:00
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