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


Release history Release notifications

This version
History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
helga-api-monitor-1.0.2.tar.gz (15.0 kB) Copy SHA256 hash SHA256 Source None Oct 9, 2016

Supported by

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