mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 20:36:21 +01:00
Add go path help to build instructions (#601)
Add `go get` and source directory requirements to the build instructions.
This commit is contained in:
parent
2e9f1913b8
commit
f3a4afc059
@ -105,6 +105,8 @@ mv /path/to/directory/role.prom.$$ /path/to/directory/role.prom
|
|||||||
|
|
||||||
## Building and running
|
## Building and running
|
||||||
|
|
||||||
|
go get github.com/prometheus/node_exporter
|
||||||
|
cd ${GOPATH-$HOME/go}/src/github.com/prometheus/node_exporter
|
||||||
make
|
make
|
||||||
./node_exporter <flags>
|
./node_exporter <flags>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user