The API allows clients to get statistics about a node’s health and performance.
/ext/metrics
To get the node metrics:
curl -X POST 127.0.0.1:9650/ext/metrics
This API produces Prometheus compatible metrics. See here for information on Prometheus’ formatting.
Here is a tutorial that shows how to set up Prometheus and Grafana to monitor AvalancheGo node using the Metrics API.