mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 12:30:46 +01:00
Add build example to README.md
This commit is contained in:
parent
fd00dbe1cc
commit
f8c5bc9f2b
@ -8,7 +8,9 @@ Prometheus exporter with plugable metric collectors.
|
|||||||
|
|
||||||
By default it will only include the NativeCollector.
|
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
|
### NativeCollector
|
||||||
@ -19,12 +21,12 @@ read from `node_exporter.conf`.
|
|||||||
To disable the native collector, use build tag `nonative`.
|
To disable the native collector, use build tag `nonative`.
|
||||||
|
|
||||||
|
|
||||||
### GmondCollector
|
### GmondCollector (tag: ganglia)
|
||||||
|
|
||||||
Talks to a local gmond and provide it's metrics.
|
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
|
Provides metrics for each runit services like state and how long it
|
||||||
has been in that state.
|
has been in that state.
|
||||||
|
Loading…
Reference in New Issue
Block a user