Skip to main content

Metrics Reference

A Demos node ships a built-in Prometheus exporter. When enabled, a dedicated HTTP server serves the standard GET /metrics endpoint (and a simple /health / /healthz returning {"status":"ok"}) on its own port, separate from the RPC server. Every metric name is prefixed with demos_. In addition to the metrics below, the exporter also emits the default prom-client process/Node.js metrics (memory, CPU, event loop, GC), which are also demos_-prefixed.

Enabling

Metrics are controlled by the metrics config block: See Node Configuration for how these map to environment variables and the Docker Compose / Grafana stack that scrapes this endpoint. Collected gauges are refreshed on a 2.5s interval; counters are incremented at their call sites.

Core metrics

System

Consensus and chain

Network and peers

Transactions

API

IPFS and GCR

Observability metrics

These mirror the subsystem registry and boot tracker that also back the /health endpoint.

Collector metrics

Sampled live from node state and the host on each collection tick.

Block detail

Host system

Network I/O (per interface)

Service and peer health

Sample scrape