Skip to main content

Metrics API

The API allows clients to get statistics about a nodeโ€™s health and performance.

info

This API set is for a specific node, it is unavailable on the public server.

Endpointโ€‹

/ext/metrics

Usageโ€‹

To get the node metrics:

curl -X POST 127.0.0.1:9650/ext/metrics

Formatโ€‹

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.