Health check orchestration using virtual threads. Manages health state for all targets and triggers weight updates.
Health check orchestration using virtual threads. Manages health state for all targets and triggers weight updates.
(force-check! proxy-name target-id)Force an immediate health check for a target.
Force an immediate health check for a target.
(get-all-health)Get health status for all registered proxies.
Get health status for all registered proxies.
(get-proxy-health proxy-name)Get current health status for a proxy.
Get current health status for a proxy.
(make-target-health weighted-target default-config)Create initial health state for a target.
Create initial health state for a target.
(register-proxy! proxy-name target-group default-config update-callback)Register a proxy for health checking. target-group: TargetGroup with targets to monitor default-config: Default HealthCheckConfig from settings update-callback: Function called with new weights when they change
Register a proxy for health checking. target-group: TargetGroup with targets to monitor default-config: Default HealthCheckConfig from settings update-callback: Function called with new weights when they change
(running?)Check if the health manager is running.
Check if the health manager is running.
(set-target-status! proxy-name target-id status)Manually set a target's health status (for maintenance, testing).
Manually set a target's health status (for maintenance, testing).
(start!)Start the health check manager.
Start the health check manager.
(subscribe! callback)Subscribe to health events. Returns unsubscribe function.
Subscribe to health events. Returns unsubscribe function.
(unregister-proxy! proxy-name)Unregister a proxy from health checking.
Unregister a proxy from health checking.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |