ESP32-sveltekit icon indicating copy to clipboard operation
ESP32-sveltekit copied to clipboard

Extensible healthcheck

Open hmbacher opened this issue 3 weeks ago • 0 comments

Hi @theelims, this PR contains now contains:

Add extensible health check endpoint Introduces a new /rest/health endpoint that enables monitoring of device state, health, and availability from external monitoring systems.

Key features:

  • Default response: Returns { "up": true } out of the box
  • Extensible design: Supports custom callback functions to add dynamic health information per request
  • Lightweight: Minimizes data transfer by allowing customizable content tailored to specific monitoring needs
  • Flexible: Can be extended with application-specific health metrics without modifying core functionality

hmbacher avatar Nov 03 '25 16:11 hmbacher