From 8a2b5a39366ed8ba8453f8c86caaea1a5235fbf2 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Sat, 28 Oct 2017 12:08:33 +0200 Subject: [PATCH] docs: update flags to new double-dash syntax --- docs/configuration/alerting_rules.md | 5 +++-- docs/getting_started.md | 4 ++-- docs/installation.md | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/configuration/alerting_rules.md b/docs/configuration/alerting_rules.md index 905b262031..7ba56dace7 100644 --- a/docs/configuration/alerting_rules.md +++ b/docs/configuration/alerting_rules.md @@ -94,5 +94,6 @@ on top of the simple alert definitions. In Prometheus's ecosystem, the [Alertmanager](https://prometheus.io/docs/alerting/alertmanager/) takes on this role. Thus, Prometheus may be configured to periodically send information about alert states to an Alertmanager instance, which then takes care of dispatching -the right notifications. The Alertmanager instance may be configured via the -`-alertmanager.url` command line flag. +the right notifications. +Prometheus can be [configured](configuration.md) to automatically discovered available +Alertmanager instances through its service discovery integrations. diff --git a/docs/getting_started.md b/docs/getting_started.md index 78a7d190e8..a72684eae9 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -65,8 +65,8 @@ directory containing the Prometheus binary and run: ```bash # Start Prometheus. -# By default, Prometheus stores its database in ./data (flag -storage.local.path). -./prometheus -config.file=prometheus.yml +# By default, Prometheus stores its database in ./data (flag --storage.tsdb.path). +./prometheus --config.file=prometheus.yml ``` Prometheus should start up. You should also be able to browse to a status page diff --git a/docs/installation.md b/docs/installation.md index 4d00edea6b..c418b7c82e 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -51,7 +51,7 @@ Or use an additional volume for the config: ```bash docker run -p 9090:9090 -v /prometheus-data \ - prom/prometheus -config.file=/prometheus-data/prometheus.yml + prom/prometheus --config.file=/prometheus-data/prometheus.yml ``` ### Custom image