Skip to content

vegaprotocol/vega-health-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vega health check

It runs the server to check vega node. The program exposes health-check on the given port (8080 by default).

Example

Core

vega-health-check vega --core-url "http://localhost:3003" --http-port 8080

Data node

vega-health-check data-node --api-url "http://localhost:3008" --core-url "http://localhost:3003" --http-port 8080

Blockexplorer

vega-health-check blockexplorer --blockexplorer-api-url "http://localhost:1515" --core-url "http://localhost:3003" --http-port 8080

Example output

➜  curl -s localhost:8080 | jq

{
  "status": "UNHEALTHY",
  "reasons": [
    "data node http endpoint is not online",
    "core http endpoint is not online"
  ]
}