1
0
mirror of https://github.com/docker/docs.git synced 2026-10-29 20:39:05 +03:00

Update collect-cluster-metrics.md

Port forwarding is used to expose the UI, not the API?
This commit is contained in:
gabrielmcg
2019-01-28 08:31:16 +00:00
committed by GitHub
parent c63a05ef5e
commit fd57d2a703

View File

@@ -220,7 +220,7 @@ To configure your external Prometheus server to scrape metrics from Prometheus i
prometheus ClusterIP 10.96.254.107 <none> 9090/TCP 1h
```
5. Forward port 9090 on the local host to the ClusterIP. The tunnel created does not need to be kept alive and is only intended to expose the Prometheus API.
5. Forward port 9090 on the local host to the ClusterIP. The tunnel created does not need to be kept alive and is only intended to expose the Prometheus UI.
```
ssh -L 9090:10.96.254.107:9090 ANY_NODE