From 0342eb221294a844b296c9343ec762d92465829d Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 15 Apr 2021 12:41:18 +1200 Subject: [PATCH] book: Fix comment in metrics example, and clarify usage --- doc/book/src/user/metrics.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/book/src/user/metrics.md b/doc/book/src/user/metrics.md index dd11d6d95..3775b0f4f 100644 --- a/doc/book/src/user/metrics.md +++ b/doc/book/src/user/metrics.md @@ -64,7 +64,8 @@ wallet holding live funds. ### Example metrics collection with Docker The example instructions below were tested on Windows 10 using Docker Desktop -with the WSL 2 backend: +with the WSL 2 backend, connected to a `zcashd` running inside WSL2 (but not +inside Docker): ``` # Create a storage volume for Grafana (once) @@ -75,8 +76,8 @@ docker volume create prometheus-storage # Run Prometheus # You will need to modify ~/contrib/metrics/prometheus.yaml to match the -# endpoint configured with -prometheusmetrics (and possibly also for your Docker -# network setup). +# port configured with -prometheusport and -metricsbind / -metricsallowip +# (and possibly also for your Docker network setup). docker run --detach -p 9090:9090 --volume prometheus-storage:/prometheus --volume ~/contrib/metrics/prometheus.yaml:/etc/prometheus/prometheus.yml prom/prometheus # Run Grafana