This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 3490e64 [doc] Improve documentation of running administration
dashboard for a Pulsar standalone installation (#3222)
3490e64 is described below
commit 3490e64f0d34d40b48517c7423e81008d62ca132
Author: Sijie Guo <[email protected]>
AuthorDate: Fri Dec 21 02:12:48 2018 +0800
[doc] Improve documentation of running administration dashboard for a
Pulsar standalone installation (#3222)
*Motivation*
When running dashboard in a docker instance, `localhost` is the docker
instance not the physical machine.
*Changes*
Improve the documentation to make statement more explicit and clearer
---
site2/docs/administration-dashboard.md | 2 +-
.../versioned_docs/version-2.1.0-incubating/administration-dashboard.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/site2/docs/administration-dashboard.md
b/site2/docs/administration-dashboard.md
index 0c4bf9d..a9a7627 100644
--- a/site2/docs/administration-dashboard.md
+++ b/site2/docs/administration-dashboard.md
@@ -29,7 +29,7 @@ $ docker run -p 80:80 \
apachepulsar/pulsar-dashboard
```
-You need to specify only one service URL for a Pulsar cluster. Internally, the
collector will figure out all the existing clusters and the brokers from where
it needs to pull the metrics. If you're connecting the dashboard to Pulsar
running in standalone mode, the URL will be `http://localhost:8080` by default.
+You need to specify only one service URL for a Pulsar cluster. Internally, the
collector will figure out all the existing clusters and the brokers from where
it needs to pull the metrics. If you're connecting the dashboard to Pulsar
running in standalone mode, the URL will be `http://<broker-ip>:8080` by
default. `<broker-ip>` is the ip address or hostname of the machine running
Pulsar standalone. The ip address or hostname should be accessible from the
docker instance running dashboard.
Once the Docker container is running, the web dashboard will be accessible via
`localhost` or whichever host is being used by Docker.
diff --git
a/site2/website/versioned_docs/version-2.1.0-incubating/administration-dashboard.md
b/site2/website/versioned_docs/version-2.1.0-incubating/administration-dashboard.md
index 374e96a..26339b0 100644
---
a/site2/website/versioned_docs/version-2.1.0-incubating/administration-dashboard.md
+++
b/site2/website/versioned_docs/version-2.1.0-incubating/administration-dashboard.md
@@ -30,7 +30,7 @@ $ docker run -p 80:80 \
apachepulsar/pulsar-dashboard
```
-You need to specify only one service URL for a Pulsar cluster. Internally, the
collector will figure out all the existing clusters and the brokers from where
it needs to pull the metrics. If you're connecting the dashboard to Pulsar
running in standalone mode, the URL will be `http://localhost:8080` by default.
+You need to specify only one service URL for a Pulsar cluster. Internally, the
collector will figure out all the existing clusters and the brokers from where
it needs to pull the metrics. If you're connecting the dashboard to Pulsar
running in standalone mode, the URL will be `http://<broker-ip>:8080` by
default. `<broker-ip>` is the ip address or hostname of the machine running
Pulsar standalone. The ip address or hostname should be accessible from the
docker instance running dashboard.
Once the Docker container is running, the web dashboard will be accessible via
`localhost` or whichever host is being used by Docker.