The monitoring port is exposed at the cluster level, which can be used to collect different metrics related to the NATS.
Observing the Metrics
-
Port Forward the service:
kubectl port-forward -n $n service/nats-svc 8222:8222 -
Navigate to
http://localhost:8222to observe the metrics in raw format.