Skip to main content

GET /health

Health check for load balancers and monitoring. Response: 200 OK
ok

GET /status

Service status overview. Response:
{
  "status": "ok",
  "network": "mainnet",
  "block": 70874222,
  "actions_per_sec": 2344,
  "uptime_seconds": 10502,
  "ws_connections": 0,
  "ws_subscriptions": 0
}
FieldTypeDescription
statusstringAlways "ok" if service is running
networkstring"mainnet" or "testnet"
blocknumberLatest block number processed
actions_per_secnumberCurrent throughput
uptime_secondsnumberSeconds since service start
ws_connectionsnumberActive WebSocket connections
ws_subscriptionsnumberActive subscriptions

GET /metrics

Full metrics in JSON format. Response:
{
  "network": "mainnet",
  "uptime_seconds": 10502,
  "current_block": 70874222,
  "actions_total": 24620887,
  "actions_per_sec": 2344,
  "events_broadcast": 16392548,
  "events_dropped": 8228339,
  "ws_connections": 0,
  "ws_subscriptions": 0,
  "ws_auth_connections": 0
}
FieldDescription
actions_totalTotal actions decoded since startup
actions_per_secCurrent action throughput
events_broadcastEvents delivered to subscribers
events_droppedEvents with no matching subscribers

GET /metrics/prometheus

Prometheus-compatible text format. All metrics prefixed with hypernode_. Response:
hypernode_actions_per_sec 2344
hypernode_actions_total 24621058
hypernode_current_block 70874223
hypernode_uptime_seconds 10502
hypernode_ws_connections 0
hypernode_ws_subscriptions 0
Prometheus scrape config:
scrape_configs:
  - job_name: 'hypernode-mainnet'
    static_configs:
      - targets: ['localhost:8080']
    metrics_path: '/metrics/prometheus'
    scrape_interval: 15s