github.com/MetalBlockchain/metalgo@v1.11.9/api/metrics/service.md (about) 1 --- 2 tags: [AvalancheGo APIs] 3 description: This page is an overview of the Metrics API associated with AvalancheGo. 4 sidebar_label: Metrics API 5 pagination_label: Metrics API 6 --- 7 8 # Metrics API 9 10 The API allows clients to get statistics about a node’s health and performance. 11 12 :::info 13 14 This API set is for a specific node, it is unavailable on the [public server](/tooling/rpc-providers.md). 15 16 ::: 17 18 ## Endpoint 19 20 ```text 21 /ext/metrics 22 ``` 23 24 ## Usage 25 26 To get the node metrics: 27 28 ```sh 29 curl -X POST 127.0.0.1:9650/ext/metrics 30 ``` 31 32 ## Format 33 34 This API produces Prometheus compatible metrics. See 35 [here](https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md) 36 for information on Prometheus’ formatting. 37 38 [Here](/nodes/maintain/setting-up-node-monitoring) is a tutorial that 39 shows how to set up Prometheus and Grafana to monitor AvalancheGo node using the 40 Metrics API.