Under Debian and probably Ubuntu, simply running prometheus does not use local config

This commit is contained in:
Dustin Brody 2019-10-25 13:01:29 +02:00
parent 205e710d4d
commit 3a71ad202d
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ mkdir ../my_metrics
cp -a examples/prometheus.yml ../my_metrics/
# start Prometheus in a separate terminal
cd ../my_metrics
prometheus # loads ./prometheus.yml, writes metric data to ./data
prometheus --config.file=prometheus.yml # loads ./prometheus.yml, writes metric data to ./data
# start a fresh Nimbus sync and export metrics
rm -rf ~/.cache/nimbus/db; ./build/nimbus --prune:archive --metricsServer
```