From f8c5bc9f2b806fbf444c995b62f5be76e12d98de Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Wed, 12 Feb 2014 11:24:26 +0100 Subject: [PATCH] Add build example to README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3a6abc62..fd076cfe 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ Prometheus exporter with plugable metric collectors. By default it will only include the NativeCollector. -To include other collectors, specify the build tags accordently. +To include other collectors, specify the build tags lile this: + + go build -tags 'ganglia runit' node_exporter.go ### NativeCollector @@ -19,12 +21,12 @@ read from `node_exporter.conf`. To disable the native collector, use build tag `nonative`. -### GmondCollector +### GmondCollector (tag: ganglia) Talks to a local gmond and provide it's metrics. -### RunitCollector +### RunitCollector (tag: runit) Provides metrics for each runit services like state and how long it has been in that state.