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.
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
Create Service
- Choose
Application error alerting
in dropdown - Fill in the form along with the notification info
- 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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file guardog-1.0.0.tar.gz
.
File metadata
- Download URL: guardog-1.0.0.tar.gz
- Upload date:
- Size: 2.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 054e18dbe799f746023ec9d4a11e40163bc389d9da49c617cbb6dbb90b2d0381 |
|
MD5 | 4be4fe6010d899d75ec7a29922d82aaa |
|
BLAKE2b-256 | c7befc006f91426aa6e4231792e6c27943da809e1748c34d6f8cc6e8b9dc36db |
File details
Details for the file guardog-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: guardog-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0203fadb4613db99b1f895e26ca9a6db86e1a53a1254a9f9ab3bf169188def5a |
|
MD5 | aacfd22ac4a08c5c0d69dc833c231f68 |
|
BLAKE2b-256 | d1cb925c9510ee94ef02cec50af29f5dfc9fe4406148930497afafa6a161b4c4 |