From d83db4db11523fbdba34bd22e9174f4f9f16a4fd Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 24 Feb 2023 21:17:24 -0800 Subject: add Prometheus endpoint TODO --- README.md | 1 + requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 3b0f016..9cc016c 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,4 @@ Foursquare Swarm like Telegram bot to check in at places and post to Fediverse ( - [ ] add Telegram payment option to enable raw GPS checkins - [ ] i18n - [ ] Anonymized usage analysis, monitoring (Grafana/Prometheus) +- [ ] Prometheus metrics endpoint diff --git a/requirements.txt b/requirements.txt index 39887b9..b25cbad 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,6 +17,7 @@ hyperframe==6.0.1 idna==3.4 Mastodon.py @ git+https://cgit.jinwei.me/clarkzjw/mastodon.py@503d58d226c52901532067d3dcb5a7814699f7fb peewee==3.15.4 +prometheus-client==0.16.0 pycparser==2.21 python-dateutil==2.8.2 python-magic==0.4.27 -- cgit v1.2.3