Liking cljdoc? Tell your friends :D

lb.health.manager

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.
raw docstring

force-check!clj

(force-check! proxy-name target-id)

Force an immediate health check for a target.

Force an immediate health check for a target.
sourceraw docstring

get-all-healthclj

(get-all-health)

Get health status for all registered proxies.

Get health status for all registered proxies.
sourceraw docstring

get-proxy-healthclj

(get-proxy-health proxy-name)

Get current health status for a proxy.

Get current health status for a proxy.
sourceraw docstring

make-target-healthclj

(make-target-health weighted-target default-config)

Create initial health state for a target.

Create initial health state for a target.
sourceraw docstring

register-proxy!clj

(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
sourceraw docstring

running?clj

(running?)

Check if the health manager is running.

Check if the health manager is running.
sourceraw docstring

set-target-status!clj

(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).
sourceraw docstring

start!clj

(start!)

Start the health check manager.

Start the health check manager.
sourceraw docstring

stop!clj

(stop!)

Stop the health check manager.

Stop the health check manager.
sourceraw docstring

subscribe!clj

(subscribe! callback)

Subscribe to health events. Returns unsubscribe function.

Subscribe to health events. Returns unsubscribe function.
sourceraw docstring

unregister-proxy!clj

(unregister-proxy! proxy-name)

Unregister a proxy from health checking.

Unregister a proxy from health checking.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close