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.
This commit is contained in:
parent
600a529e09
commit
211ddf33f1
6 changed files with 64 additions and 87 deletions
32
README.md
32
README.md
|
|
@ -2,33 +2,7 @@
|
|||
|
||||
Prometheus exporter with pluggable metric collectors.
|
||||
|
||||
## collectors
|
||||
|
||||
|
||||
## Available collectors
|
||||
|
||||
By default the build will only include the native collectors
|
||||
that expose information from /proc.
|
||||
|
||||
To include other collectors, specify the build tags lile this:
|
||||
|
||||
go build -tags 'ganglia runit' node_exporter.go
|
||||
|
||||
|
||||
Which collectors are used is controlled by the --enabledCollectors flag.
|
||||
|
||||
### NativeCollector
|
||||
|
||||
Provides metrics for load, seconds since last login and a list of tags
|
||||
read from `node_exporter.conf`.
|
||||
|
||||
|
||||
### GmondCollector (tag: ganglia)
|
||||
|
||||
Talks to a local gmond and provide it's metrics.
|
||||
|
||||
|
||||
### RunitCollector (tag: runit)
|
||||
|
||||
Provides metrics for each runit services like state and how long it
|
||||
has been in that state.
|
||||
|
||||
Which collectors are used is controlled by the --enabledCollectors flag. To see
|
||||
all available collectors, use `--printCollectors`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue