v1.13.1 - Structured Health Check Configuration
What's New
Structured Health Check Configuration
Enhanced health check configuration with support for multiple check types while maintaining backward compatibility.
New Features
- Structured
healthCheckobject: New configuration format withurl,enabled, andtypeproperties - HttpGet check type: Performs actual HTTP GET request and validates response status (2xx/401 = healthy)
- TcpConnect check type: Verifies host:port is reachable via TCP socket connection without making HTTP request - ideal for non-HTTP services like gRPC
- Backward compatible: Existing
healthCheckUrlstring format continues to work unchanged
Configuration Examples
New Format (HttpGet)
"healthCheck": {
"url": "https://api.example.com/health",
"enabled": true,
"type": "HttpGet"
}TCP Connect (for non-HTTP services)
"healthCheck": {
"url": "https://grpc.example.com",
"enabled": true,
"type": "TcpConnect"
}Legacy Format (still supported)
"healthCheckUrl": "https://api.example.com/health"Files Changed
Models/ProxyConfig.cs- AddedHealthCheckConfigclass andHealthCheckTypeenumHealthChecks/ConnectivityHealthCheck.cs- Support for both check typesModels/ApiResponses.cs- Exposed health check config in API responsesControllers/SystemController.cs- Updated status endpoint- Example configuration files updated
Testing
- 45 new tests added (unit + integration)
- All 91 tests passing
- Integration tests verify real TCP connections
🤖 Generated with Claude Code