Update accessing-metrics.md with knative-metrics namespace. (#435)

This commit is contained in:
Joseph Burnett 2018-10-30 17:33:33 -07:00 committed by Knative Prow Robot
parent c8c3340ae8
commit c182e544c6
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ the visualization tool for [Prometheus](https://prometheus.io/).
1. To open Grafana, enter the following command:
```
kubectl port-forward --namespace monitoring $(kubectl get pods --namespace monitoring --selector=app=grafana --output=jsonpath="{.items..metadata.name}") 3000
kubectl port-forward --namespace knative-monitoring $(kubectl get pods --namespace knative-monitoring --selector=app=grafana --output=jsonpath="{.items..metadata.name}") 3000
```
* This starts a local proxy of Grafana on port 3000. For security reasons, the Grafana UI is exposed only within the cluster.