checkers

package
v0.0.0-...-dd3d2fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2019 License: MIT Imports: 8 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL