Skip to content

agent: Add opt-in /health endpoint #86

@shazow

Description

@shazow

Something like vipnode agent --health="localhost:8080/health"?

Things we want to include (probably as a JSON object):

  • Status: OK or ERROR? (When is it in error state? E.g. if node is missing? What about block number lagging?)
  • Block number (vs highest known block)
  • ActivePeers
  • Whitelisted peers (note: agents are stateless, so would only be whitelisted peers since the agent has started)

Anything else?

Metadata

Metadata

Assignees

Labels

SoonCandidate for the next major release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions