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


Download files

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

Source Distribution

simple-heartbeat-0.1.2.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file simple-heartbeat-0.1.2.tar.gz.

File metadata

  • Download URL: simple-heartbeat-0.1.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.9

File hashes

Hashes for simple-heartbeat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c9860bca61e730b73b449a18580a02a19ac3577e5cf59fcbb9699884e4ff18d2
MD5 2188273f8d850836af665e1c199b1683
BLAKE2b-256 719379a888097f6dc9133460ef78324b49b3cb09ef4ebc012e59a6889cd49182

See more details on using hashes here.

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