Skip to main content

Allow helga a way to monitor APIs

Project description

Allow helga a way to monitor APIs

Installation

After installing and configuring helga, use:

pip install helga-api-monitor

Add to your settings if necessary and restart helga:

'api_monitor',

Add the following settings:

API_MONITOR_URL = 'http://www.example.com/'
API_MONITOR_ENDPOINT = 'http://www.example.com/api/'
API_MONITOR_CHANNEL = '#bots'
API_MONITOR_INTERVAL = 2 # minutes

Usage

To initialize the monitor after starting helga, you must first trigger the watching with:

!api_monitor

This will start a regular job to poll endpoints for errors

License

Copyright (c) 2016 Jon Robison

See included LICENSE for licensing information

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

helga-api-monitor-1.0.2.tar.gz (15.0 kB view details)

Uploaded Source

File details

Details for the file helga-api-monitor-1.0.2.tar.gz.

File metadata

File hashes

Hashes for helga-api-monitor-1.0.2.tar.gz
Algorithm Hash digest
SHA256 bb60c730e5be48048fea40e2ab3ed26f7f6d9393c1edd9f5c6b4afa5400f2907
MD5 010403ab64304dd0e63fed20b4e077e4
BLAKE2b-256 7e840305cd69a1a6e4fc8ac95343fe74054d3db78d162a44bf173b7a6baf5218

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