node-healthchecker

module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: MIT

README

node-healthchecker

Composite health (sync status) checker for blockchain nodes.

TL;DR

./node-healthchecker serve \
  --monitor-geth-url http://127.0.0.1:8545 \
  --monitor-lighthouse-url http://127.0.0.1:3500
curl -isS http://127.0.0.1:8080
  • Unhappy path:

    HTTP/1.1 500 Internal Server Error
    Content-Type: application/text
    Date: Mon, 30 Oct 2023 08:06:25 GMT
    Content-Length: 354
    
    0: error while checking sync-status of lighthouse at 'http://127.0.0.1:3500/lighthouse/syncing': Get "http://127.0.0.1:3500/lighthouse/syncing": dial tcp 127.0.0.1:3500: connect: connection refused
    1: error while checking sync-status of geth at 'http://127.0.0.1:8545/': Get "http://127.0.0.1:8545/": dial tcp 127.0.0.1:8545: connect: connection refused
    
  • Happy path:

    HTTP/1.1 200 OK
    Date: Mon, 30 Oct 2023 08:08:18 GMT
    Content-Length: 0
    

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL