Skip to main content

Simple heartbeat library

Project description

Simple heartbeat library

This is designed to work with the simple heartbeat app to send heartbeat status notifications to the server, and ignore errors and such.

Usage

  1. Get a copy of the simple heartbeat library from pypi.
  2. Spin up a copy of the heartbeat server, and then set heartbeat.heartbeat_app_url to the URL of your heartbeat server.
  3. Optional: Call heartbeat.initialise_app(app_name, expiry_period) to initialise your app in the heartbeat server.
    • This is mostly useful for initialising an expiry period for the app. If it fails to contact the heartbeat server, it will propogate the exception up.
  4. Periodically call heartbeat.update_heartbeat(app_name) to confirm your application is online.

Project details


Release history Release notifications

Download files

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

Files for simple-heartbeat, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size simple-heartbeat-0.1.2.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page