Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

foodpanda/supervisor-healthcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

supervisor-healthcheck

A simple health check for Supervisor, uses XML-RPC API

Configuration

  • SUPERVISOR_HOST - Supervisor host
  • SUPERVISOR_PORT - Supervisor port

Endpoints

Default port is 8080.

  • / - always returns 200 and "ok"
  • /health/check opens Supervisor RPC and returns result based on running tasks

Examples

Normal response

{
  "status": true,
  "supervisor_state": {
    "state_code": 1,
    "state_name": "RUNNING"
  }
}

Error response:

{
  "status": false,
  "supervisor_state": {
    "state_code": 1,
    "state_name": "RUNNING"
  },
  "messages": [
    "worker_1"
  ]
}

Packages

 
 
 

Contributors

Languages