Skip to main content

health checks module

Project description



<pre>


<h1>homeostasis</h1>

<h2>install</h2>
[SH] pip install homeostasis

<h2>documentation</h2>
[SH] homeostasis shares

<h2>health checks</h2>
<h3>create a status file</h3>

# status_1.py

def check_1 ():
print ("check 1")

def check_2 ():
print ("check 2")

def check_3 ():
raise Exception ("not 110%")

checks = {
"check 1": check_1,
"check 2": check_2,
"check 3": check_3
}


<h3>start from a directory deeper than the status file "status_1.py"</h3>
[SH] homeostasis status

</pre>



Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

homeostasis-1.0.0.tar.gz (42.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page