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
6bce4b62
Commit
6bce4b62
authored
Dec 24, 2014
by
Julius Volz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename and improve codelab/tutorial.
parent
133f74a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
getting_started.md
content/docs/introduction/getting_started.md
+8
-8
No files found.
content/docs/introduction/
codelab
.md
→
content/docs/introduction/
getting_started
.md
View file @
6bce4b62
---
title
:
Starter codelab
title
:
Getting started
sort_rank
:
3
---
#
Intro codelab
#
Getting started
This guide is a "Hello World"-style
codelab
which shows how to install,
This guide is a "Hello World"-style
tutorial
which shows how to install,
configure, and use Prometheus in a simple example setup. You'll build and run
Prometheus locally, configure it to scrape itself and an example application,
and then work with queries, rules, and graphs to make use of the collected
...
...
@@ -16,7 +16,7 @@ time series data.
First, fetch the latest Prometheus collector server code:
```
language-bash
git clone
git@github.com:/prometheus/prometheus
git clone
https://github.com/prometheus/prometheus.git
```
## Building Prometheus
...
...
@@ -49,7 +49,7 @@ global: {
labels: {
label: {
name: "monitor"
value: "
codelab
-monitor"
value: "
tutorial
-monitor"
}
}
}
...
...
@@ -81,8 +81,8 @@ Prometheus build directory and run:
```
language-bash
# Start Prometheus.
# By default, Prometheus stores its database in /tmp/metrics (flag -
metricsStorageP
ath).
./prometheus -config
F
ile=prometheus.conf
# By default, Prometheus stores its database in /tmp/metrics (flag -
storage.local.p
ath).
./prometheus -config
.f
ile=prometheus.conf
```
Prometheus should start up and it should show a status page about itself at
...
...
@@ -249,7 +249,7 @@ global: {
labels: {
label: {
name: "monitor"
value: "
codelab
-monitor"
value: "
tutorial
-monitor"
}
}
# Load and evaluate rules in this file every 'evaluation_interval' seconds. This field may be repeated.
...
...
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