Commit 87f5fe35 authored by Tobias Schmidt's avatar Tobias Schmidt Committed by Brian Brazil

Fix migration documentation title in docs menu

parent 5dff9763
......@@ -2,17 +2,19 @@
# todo: internal
# Prometheus 1.8
# Prometheus 2.0
Welcome to the documentation of the Prometheus server.
The documentation is available alongside all the project documentation at
## Content
- [Installing](
- [Getting started](
- [Installation](
- [Configuration](configuration/
- [Querying](querying/
- [Storage](
- [Federation](
- [Migration](
title: Migration
sort_rank: 7
# Prometheus 2.0 migration guide
In line with our [stability promise](,
......@@ -12,6 +17,7 @@ single dash, all flags now use a double dash. Common flags (`--config.file`,
that, almost all the storage-related flags have been removed.
Some notable flags which have been removed:
- `-alertmanager.url` In Prometheus 2.0, the command line flags for configuring
a static Alertmanager URL have been removed. Alertmanager must now be
discovered via service discovery, see [Alertmanager service discovery](#amsd).
......@@ -42,7 +48,7 @@ have been removed, so the following command line flag:
Would be replaced with the following in the `prometheus.yml` config file:
- static_configs:
......@@ -55,7 +61,7 @@ relabeling in your Alertmanager configuration. This snippet instructs
Prometheus to search for Kubernetes pods, in the `default` namespace, with the
label `name: alertmanager` and with a non-empty port.
- kubernetes_sd_configs:
......@@ -94,7 +100,7 @@ ALERT FrontendRequestLatency
Would look like this:
- name: example.rules
......@@ -140,7 +146,7 @@ $ ./prometheus-2.0.0.linux-amd64/prometheus --config.file prometheus.yml
Where `prometheus.yml` contains in addition to your full existing configuration, the stanza:
- url: "http://localhost:9094/api/v1/read"
......@@ -167,7 +173,7 @@ as a non-root user]( If you
want the Prometheus UI/API to listen on a low port number (say, port 80), you'll
need to override it. For Kubernetes, you would use the following YAML:
apiVersion: v1
kind: Pod
......@@ -178,7 +184,7 @@ spec:
See [](Configure a Security Context for a Pod or Container)
See [Configure a Security Context for a Pod or Container](
for more details.
If you're using Docker, then the following snippet would be used:
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