Vespa provides metrics integration with CloudWatch, Datadog and Prometheus / Grafana, as well as a JSON HTTP API. See monitoring with Grafana quick start if you just want to get started monitoring your system.
There are two main approaches to transfer metrics to an external system:
Have the external system pull metrics from Vespa
Make Vespa push metrics to the external system