Commit 0a319b00 authored by Simon Pasquier's avatar Simon Pasquier
Browse files

Update documentation

Signed-off-by: default avatarSimon Pasquier <>
parent a60d2c15
......@@ -51,3 +51,31 @@ All our issues are regularly tagged so that you can also filter down the issues
* If your patch is not getting reviewed or you need a specific person to review it, you can @-reply a reviewer asking for a review in the pull request or a comment, or you can ask for a review on IRC channel [#prometheus]( on (for the easiest start, [join via Riot](
* Add tests relevant to the fixed bug or new feature.
## Dependency management
The Prometheus project uses [Go modules]( to manage dependencies on external packages. This requires a working Go environment with version 1.11 or greater installed.
All dependencies are vendored in the `vendor/` directory.
To add or update a new dependency, use the `go get` command:
# Pick the latest tagged release.
go get
# Pick a specific version.
go get
Tidy up the `go.mod` and `go.sum` files and copy the new/updated dependency to the `vendor/` directory:
# The GO111MODULE variable can be omitted when the code isn't located in GOPATH.
GO111MODULE=on go mod tidy
GO111MODULE=on go mod vendor
You have to commit the changes to `go.mod`, `go.sum` and the `vendor/` directory before submitting the pull request.
......@@ -57,7 +57,7 @@ Prometheus will now be reachable at http://localhost:9090/.
### Building from source
To build Prometheus from the source code yourself you need to have a working
Go environment with [version 1.10 or greater installed](
Go environment with [version 1.11 or greater installed](
You can directly use the `go` tool to download and install the `prometheus`
and `promtool` binaries into your `GOPATH`:
......@@ -15,7 +15,7 @@
package ui
import (
// The blank import is to make govendor happy.
// The blank import is to make Go modules happy.
_ ""
Markdown is supported
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