HealthConfiguration
class HealthConfiguration
Properties
Functions
Link copied to clipboard
Adds a check function to a custom check living at the specified URL
Link copied to clipboard
Calling this disables the default health check on /healthz
Link copied to clipboard
Calling this disabled the default ready check on /readyz
Link copied to clipboard
fun enableCachingResults(refreshInterval: <Error class: unknown class> = 60.seconds, checkTimeout: <Error class: unknown class> = 30.seconds, stalenessThreshold: <Error class: unknown class>? = null)
Enable caching of health check results with background refresh
Link copied to clipboard
Add a health check giving it a name
Link copied to clipboard
Add a ready check giving it a name