mirror of
https://github.com/luxfi/vm.git
synced 2026-10-30 15:13:40 +00:00
/ext/ is gone from api.lux.network, api.zoo.network and api.hanzo.network (all 404 today), so every published /ext/ URL was already broken. Convert to the one canonical path and fix the URL forms that were dead for other reasons at the same time: /mainnet|/testnet|/devnet path prefix -> the per-network host (404 today) api.testnet.lux.network, testnet-api.lux.network -> api.lux-test.network /ext/C/rpc (missing bc/) -> /v1/bc/C/rpc chain aliases + blockchain IDs under api.lux.network -> the L1s own host Third-party RPC hosts (Avalanche, Flare, blastapi) are left untouched. Co-authored-by: Hanzo Dev <[email protected]>
717 B
717 B
The Metrics API allows clients to get statistics about a node's health and performance.
This API set is for a specific node, it is unavailable on the [public server](https://docs.lux.network/docs/tooling/rpc-providers).Endpoint
/v1/metrics
Usage
To get the node metrics:
curl -X POST 127.0.0.1:9630/v1/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 Lux Node using the Metrics API.