Commit graph

154 commits

Author SHA1 Message Date
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
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
Johannes 'fish' Ziemke d1822e4749 Bump version 2015-05-05 13:28:50 +02:00
Tobias Schmidt cb125472c5 Merge pull request #64 from prometheus/document-logging
Document logging
2015-04-16 15:42:07 -04:00
Tobias Schmidt 626900fe21 Log version at startup 2015-04-16 00:02:08 -04: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
Tobias Schmidt e4fd929305 Add build artifacts to gitignore 2015-04-15 23:30:16 -04:00
Julius Volz 473016dd51 Backtick-quote path names in README.md. 2015-04-14 15:19:02 +02:00
Julius Volz e759e5719b Update Makefile.COMMON 2015-03-28 01:43:01 +01: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 f667a5d01a Merge pull request #58 from benley/google-code-sadface
Switch protobuf import to its new github URL
2015-03-22 21:16:39 +01:00
Benjamin Staffin df7ba0af85 Switch protobuf import to its new github URL 2015-03-22 12:25:07 -07:00
Julius Volz 76e146119f Merge pull request #57 from prometheus/travis-link
Link Travis badge to Travis build status page.
2015-03-21 17:36:59 +01: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
Julius Volz 393d62ab9e Merge pull request #55 from franklinwise/autobuild-patch
added travis automated build and status on the readme
2015-03-20 12:14:40 +01:00
Franklin Wise 204fe46a62 removed go versions, and added make test, as per juliusv request 2015-03-19 10:59:04 -07:00
Franklin Wise 4b53465c14 added travis automated build and status on the readme 2015-03-18 19:04:29 -07:00
Julius Volz aaf01e52e2 Merge pull request #54 from prometheus/common-make
Use Makefile.COMMON and release version 0.8.0.
2015-03-09 19:23:48 +01:00
Julius Volz b3e5a8e046 Release version 0.8.0 and introduce changelog. 2015-03-09 19:16:10 +01:00
Julius Volz cdf83741c2 Use Makefile.COMMON in node exporter. 2015-03-09 19:14:42 +01:00
Julius Volz 30cf7f8c73 Merge pull request #53 from prometheus/web-pprof
Remove memprofile file, add pprof HTTP endpoint instead.
2015-03-05 22:58:31 +01:00
Julius Volz a730cff002 Remove memprofile file, add pprof HTTP endpoint instead. 2015-03-05 17:08:59 +01:00
Julius Volz 0c8bfba04d Merge pull request #47 from prometheus/flag-cleanup
Make collector-specific flags consistent with others.
2015-02-18 18:43:32 +01: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
Brian Brazil 9775276b29 Merge pull request #46 from kormat/master
Match fd0, not fda0
2015-02-18 16:12:25 +00:00
Stephen Shirley 54da76f575 Match fd0, not fda0
Add fd/sr/vda examples to test input
2015-02-18 17:10:28 +01:00
Brian Brazil 79bde79d50 Merge pull request #45 from kormat/master
Ignore floppy disk devices, due to it being 2015
2015-02-18 15:13:36 +00:00
Stephen Shirley 686a0c768c Fix typo, match fd0, not fdd0 2015-02-18 16:09:41 +01:00
Stephen Shirley 72404d9ed1 Ignore floppy disk devices, due to it being 2015 2015-02-18 16:04:53 +01:00
Brian Brazil 6b5a1e797e Merge pull request #44 from kormat/master
Also ignore vda1 and friends
2015-02-18 14:56:55 +00:00
Stephen Shirley 0c7d45cc5d Also ignore vda1 and friends 2015-02-18 15:44:30 +01:00
juliusv 8f013ba8df Merge pull request #43 from prometheus/discordianfish-patch-1
Fix port in Dockerfile
2015-02-10 13:21:15 +01:00
Johannes 'fish' Ziemke cdcb0576a2 Fix port in Dockerfile 2015-02-10 12:41:51 +01:00
juliusv 8c86a752c7 Merge pull request #42 from prometheus/readme-makefile-update
Add tests and run info to README.md and Makefile.
2015-02-09 22:51:00 +01:00
Julius Volz effc934777 Add tests and run info to README.md and Makefile. 2015-02-09 22:42:23 +01:00
juliusv 646d8de896 Merge pull request #40 from prometheus/flag-cleanup
Make flag names consistent across projects.
2015-02-09 12:25:13 +01:00
juliusv 12c1caacee Fix typo in README.md 2015-02-09 12:00:05 +01:00
Brian Brazil 86ddd0a1a8 Merge pull request #41 from brian-brazil/readme
Flesh out readme.
2015-02-09 10:51:18 +00:00
Brian Brazil 6ee77bd00a Flesh out readme. 2015-02-09 10:50:20 +00:00
Julius Volz 0283fc9ab8 Make flag names consistent across projects. 2015-02-09 00:23:56 +01:00
Tobias Schmidt 5bf5eef004 Merge pull request #39 from DSpeichert/master
Fixed panic when parsing /proc/stat on 2.6.32-25-pve
2015-02-07 04:39:13 -05:00
Daniel Speichert 1763908013 Fixed panic when parsing /proc/stat on 2.6.32-25-pve
Fixes issue described in #38
/proc/stat reports a blank line which needs to be ignored.
Old kernels misses one CPU time field, this needs to be ignored too.
2015-02-07 06:36:36 +01:00
juliusv 202bbe16fd Merge pull request #37 from prometheus/arch-os-build-fixes
Fix Go download link for several archs and OSes.
2015-02-05 18:08:53 +01:00