logoDeveloper Hub

Metrics API

Tip

This page was generated by a plugin that directly references this file in the AvalancheGo GitHub repository.

The API allows clients to get statistics about a node's health and performance.

Note

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.

Last updated on

On this page

Edit on Github