You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 02-path-working-with-clusters/201-cluster-monitoring/readme.adoc
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,17 @@ Prometheus is now scraping metrics from the different scraping targets and we fo
258
258
$ kubectl port-forward $(kubectl get po -l prometheus=prometheus -n monitoring -o jsonpath={.items[0].metadata.name}) 9090 -n monitoring
259
259
Forwarding from 127.0.0.1:9090 -> 9090
260
260
261
-
Now open the browser at http://localhost:9090/targets and all targets should be shown as `UP` (it might take a couple of minutes until data collectors are up and running for the first time). The browser displays the output as shown:
261
+
Now open the browser at http://localhost:9090/targets.
262
+
263
+
If you are running this in the Cloud9 IDE, you will need to run the following to be able to visualize your dashboard:
264
+
265
+
$ kubectl port-forward $(kubectl get po -l prometheus=prometheus -n monitoring -o jsonpath={.items[0].metadata.name}) 8080:9090 -n monitoring
266
+
Forwarding from 127.0.0.1:8080 -> 9090
267
+
Forwarding from [::1]:8080 -> 9090
268
+
269
+
The dashboard will be available at https://<ENV_ID>.vfs.cloud9.<REGION_ID>.amazonaws.com/targets.
270
+
271
+
All targets should be shown as `UP` (it might take a couple of minutes until data collectors are up and running for the first time). The browser displays the output as shown:
0 commit comments