docs: update flags to new double-dash syntax

This commit is contained in:
Fabian Reinartz 2017-10-28 12:08:33 +02:00
parent faf4bb03ee
commit 8a2b5a3936
3 changed files with 6 additions and 5 deletions

View File

@ -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.

View File

@ -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

View File

@ -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