Feedback

Chat Icon

Cloud-Native Microservices With Kubernetes - 2nd Edition

A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in Kubernetes

Microservices Observability in a Kubernetes World: Metrics
74%

Prometheus Web User Interface

Prometheus web UI can be accessed by creating a port-forward to the Prometheus service:

kubectl -n monitoring \
  port-forward \
  svc/prometheus-k8s \
  9090 > /dev/null 2>&1 &

The Prometheus UI will be available at http://localhost:9090. If you are using a server, you should create an SSH tunnel from your local machine to the remote server. Once the tunnel is established, you can access Prometheus at http://localhost:9090.

This is how you can do it in a Linux or macOS terminal:

Cloud-Native Microservices With Kubernetes - 2nd Edition

A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in Kubernetes

Enroll now to unlock all content and receive all future updates for free.