From 3a71ad202d4e64aea436e640a6c136979b024f71 Mon Sep 17 00:00:00 2001 From: Dustin Brody Date: Fri, 25 Oct 2019 13:01:29 +0200 Subject: [PATCH] Under Debian and probably Ubuntu, simply running prometheus does not use local config --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b431a01b..8a4a473d0 100644 --- a/README.md +++ b/README.md @@ -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 ```