Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
4e44470b
Commit
4e44470b
authored
Jan 26, 2015
by
Brian Brazil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new makefile to build target, doesn't depend on go being setup.
Don't expect users to know what screen is.
parent
df6b8d26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
getting_started.md
content/docs/introduction/getting_started.md
+7
-11
No files found.
content/docs/introduction/getting_started.md
View file @
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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment