Skip to main content

No project description provided

Project description

guardog-py

Guardog is a simple and easy-to-use application monitoring and alerting tool. It notifies you of runtime errors in realtime so that you can stay on top of issues and focus on delivering quality code to your users.

guardog with python

Installation

pip install guardog

Note: Guardog works on Python 3.7 and above

Usage

from guardog import Guardog


gd = Guardog(
    api_key='<YOUR_API_KEY>',
    uid='<UID>',
    service_id='<SERVICE_ID>'
)


@gd.watch() # Watches for any exceptions and notifies you
def this_function_will_fail():

    return 42 / 0


this_function_will_fail()

Credentials

To get your api_key, uid and service_id values, login (or signup if you already haven't) to Guardog

And once you are directed to your dashboard, follow these steps

  1. Create Service
  2. Choose Application error alerting in dropdown
  3. Fill in the form along with the notification info
  4. Once a new service is created, Click on Details and you should see your credentails there. You can generate a new API key anytime.

Here's an screenshot of an example service guardog service details

And that's it! You are all set to receive alerts everytime your program crashes during runtime.

Note:  We don't spam you everytime an exception occurs. We only notify you every 6 hours from the last occurence.

For any issues, feedbacks and suggestions contact gautham@guardog.app

Blog - https://www.guardog.app/blog/guardog-python

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

guardog-1.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

guardog-1.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file guardog-1.1.0.tar.gz.

File metadata

  • Download URL: guardog-1.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/6.5.0-44-generic

File hashes

Hashes for guardog-1.1.0.tar.gz
Algorithm Hash digest
SHA256 420a1948c50408e3804b7915f72b91c2a3819a45ad4b3cbdb589811f14a06fef
MD5 eceba2b7fc14e84c70f73a752d1c1a38
BLAKE2b-256 29792e19a1fa69fead8de2fb1f0228caeffefad77a71cdefe0006a9674c58f47

See more details on using hashes here.

File details

Details for the file guardog-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: guardog-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/6.5.0-44-generic

File hashes

Hashes for guardog-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6dba5179c2f6f05df55a5d1da909f00a405c285233b4ef2887f73dd3dd5d824
MD5 770bdaa887f678b5bd70368c8dd3ae28
BLAKE2b-256 fcd06a1538fac4adaf02b0317aad0b8ac5f219b063e993ac50c8ae53b3a62484

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