-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- cross-compile binary releases - update installation instructions in README
- Loading branch information
Dylan Clendenin
committed
Nov 23, 2016
1 parent
12dc678
commit dc3ffef
Showing
4 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ _testmain.go | |
|
||
mongodb_exporter | ||
vendor/ | ||
release/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,18 +6,13 @@ MongoDB exporter for prometheus.io, written in go. | |
|
||
## Installing | ||
|
||
Requires Go 1.5+ | ||
|
||
Make sure $GOPATH/bin is in your $PATH, then: | ||
|
||
go get -u github.com/dcu/mongodb_exporter | ||
mongodb_exporter -h | ||
Download a [release](https://github.com/dcu/mongodb_exporter/releases) | ||
|
||
## Building | ||
|
||
Requires [glide](https://github.com/Masterminds/glide) for dependency management | ||
|
||
go get -u github.com/dcu/mongodb_exporter | ||
git clone [email protected]:dcu/mongodb_exporter.git $GOPATH/src/github.com/dcu/mongodb_exporter | ||
cd $GOPATH/src/github.com/dcu/mongodb_exporter | ||
make build | ||
./mongodb_exporter -h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters