PlugCheckup v0.6.0 API Reference

Modules

PlugCheckup provides a Plug for adding simple health checks to your app.

Defines the structure of a check. Executes a check updating its result and execution time. Also, it transforms any exception into a tuple {:error, reason}

Format the given checks into a list of maps which respects the following JSON schema

Executes the given checks asynchronously respecting the given timeout for each of the checks, and decides whether the execution was successful or not.

Defines the options which can be given to initialize PlugCheckup.