Commit 6bce4b62 authored by Julius Volz's avatar Julius Volz

Rename and improve codelab/tutorial.

parent 133f74a2
--- ---
title: Starter codelab title: Getting started
sort_rank: 3 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 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, 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 and then work with queries, rules, and graphs to make use of the collected
...@@ -16,7 +16,7 @@ time series data. ...@@ -16,7 +16,7 @@ time series data.
First, fetch the latest Prometheus collector server code: First, fetch the latest Prometheus collector server code:
```language-bash ```language-bash
git clone git@github.com:/prometheus/prometheus git clone https://github.com/prometheus/prometheus.git
``` ```
## Building Prometheus ## Building Prometheus
...@@ -49,7 +49,7 @@ global: { ...@@ -49,7 +49,7 @@ global: {
labels: { labels: {
label: { label: {
name: "monitor" name: "monitor"
value: "codelab-monitor" value: "tutorial-monitor"
} }
} }
} }
...@@ -81,8 +81,8 @@ Prometheus build directory and run: ...@@ -81,8 +81,8 @@ Prometheus build directory and run:
```language-bash ```language-bash
# Start Prometheus. # Start Prometheus.
# By default, Prometheus stores its database in /tmp/metrics (flag -metricsStoragePath). # By default, Prometheus stores its database in /tmp/metrics (flag -storage.local.path).
./prometheus -configFile=prometheus.conf ./prometheus -config.file=prometheus.conf
``` ```
Prometheus should start up and it should show a status page about itself at Prometheus should start up and it should show a status page about itself at
...@@ -249,7 +249,7 @@ global: { ...@@ -249,7 +249,7 @@ global: {
labels: { labels: {
label: { label: {
name: "monitor" name: "monitor"
value: "codelab-monitor" value: "tutorial-monitor"
} }
} }
# Load and evaluate rules in this file every 'evaluation_interval' seconds. This field may be repeated. # Load and evaluate rules in this file every 'evaluation_interval' seconds. This field may be repeated.
......
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