Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiskSpace ¶
func DiskSpace(dir string, threshold uint64) healthcheck.Checker
DiskSpace returns a diskspace health checker, which checks if filesystem usage is above the threshold which is defined in percentage.
func Heartbeat ¶
func Heartbeat(filepath string) healthcheck.Checker
Heartbeat returns a heartbeat health checker. Heartbeat files are generally used to take hosts out of rotation from the loadbalancers. Removing the heartbeat file allows you to debug the application host in case of failures.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.