healthcheck: Index | Files

package checkers

import ""


Package Files

diskspace.go heartbeat.go

func DiskSpace Uses

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 Uses

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.

Package checkers imports 8 packages (graph). Updated 2019-12-24. Refresh now. Tools for package owners.