1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-08-11 02:43:02 +03:00

Add a couple of pre-instructions to the README file for the build process. (#152)

This commit is contained in:
fjavierm
2018-02-02 09:04:07 +00:00
committed by Will Rouesnel
parent b0d5700ec0
commit 02718d0e26

View File

@@ -19,6 +19,8 @@ docker run -e DATA_SOURCE_NAME="postgresql://postgres:password@localhost:5432/?s
## Building and running
The default make file behavior is to build the binary:
```
go get github.com/wrouesnel/postgres_exporter
cd ${GOPATH-$HOME/go}/src/github.com/wrouesnel/postgres_exporter
make
export DATA_SOURCE_NAME="postgresql://login:password@hostname:port/dbname"
./postgres_exporter <flags>