CLI tool for monitoring API endpoint uptime — pings endpoints concurrently, sends Telegram alerts on down/recovery, and generates SLA reports with trend detection
Project description
apiwatch
CLI tool + Telegram bot for monitoring API endpoint uptime and latency.
Install
pip install -e .[dev]
cp .env.example .env # then fill in TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID
Usage
python -m apiwatch add --url "https://api.example.com/health" --interval 5m
python -m apiwatch list
python -m apiwatch remove --url "https://api.example.com/health"
python -m apiwatch start
python -m apiwatch report --last 7d
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
apiwatch_monitor-0.1.0.tar.gz
(15.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apiwatch_monitor-0.1.0.tar.gz.
File metadata
- Download URL: apiwatch_monitor-0.1.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fea8433fbaa9e694ad8f2d3e5120de257ddbdf5f17a94445576c8cb2245afad
|
|
| MD5 |
b798a7df193ec7d8524da7d24d6895b9
|
|
| BLAKE2b-256 |
3de60d1d012adae1d93e3bf61396c2418654d54a3a6dfd862dfd40ffcc047411
|
File details
Details for the file apiwatch_monitor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: apiwatch_monitor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99e5897e2a593059df999170db8d891bcad292b93ec4c30b1a638293ee8031bc
|
|
| MD5 |
bae1ac4328ff74b3715b1aa0b3c4a7be
|
|
| BLAKE2b-256 |
8c44dfe5e443e7d31d41a4e1265902c58bd14a8798fb3b9510dca685e610e7cb
|