Commit 41a72179 authored by Julius Volz's avatar Julius Volz
Browse files

Fix and improve build-from-source instructions.

parent 5a0ce511
......@@ -44,9 +44,11 @@ To build Prometheus from the source code yourself you need to have a working
Go environment with [version 1.5 or greater installed](
You can directly use the `go` tool to download and install the `prometheus`
and `promtool` binaries into your `GOPATH`:
and `promtool` binaries into your `GOPATH`. We use Go 1.5's experimental
vendoring feature, so you will also need to set the `GO15VENDOREXPERIMENT=1`
environment variable in this case:
$ go get
$ prometheus -config.file=your_config.yml
You can also clone the repository yourself and build using `make`:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment