Commit 3c49b1f1 authored by juliusv's avatar juliusv

Merge pull request #18 from brian-brazil/make

Use new makefile to build target, doesn't depend on go being setup.
parents b7d5dc3d 4e44470b
......@@ -156,19 +156,15 @@ Download the Go client library for Prometheus and run three of these example
processes:
```bash
# Fetch the client library code.
# Fetch the client library code and compile example.
git clone git@github.com:/prometheus/client_golang
cd client_golang
make random_example
# Change to the random RPC example.
cd client_golang/examples/random
# Assuming a working Go setup, fetch necessary dependencies.
go get -d
# Start 3 example targets in screen sessions:
go run main.go -listen-address=:8080
go run main.go -listen-address=:8081
go run main.go -listen-address=:8082
# Start 3 example targets in separate terminals:
./random_example -listen-address=:8080
./random_example -listen-address=:8081
./random_example -listen-address=:8082
```
You should now have example targets listening on http://localhost:8080/metrics,
......
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