mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-26 20:19:31 +00:00
Under Debian and probably Ubuntu, simply running prometheus does not use local config
This commit is contained in:
parent
205e710d4d
commit
3a71ad202d
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user