An open API service indexing awesome lists of open source software.

https://github.com/syfaro/tg-webhook-prom

Prometheus exporter for Telegram getWebhookInfo fields like pending updates
https://github.com/syfaro/tg-webhook-prom

Last synced: about 1 year ago
JSON representation

Prometheus exporter for Telegram getWebhookInfo fields like pending updates

Awesome Lists containing this project

README

          

# tg-webhook-prom

Export basic information from Telegram's getWebhookInfo Bot API endpoint.

It provides a `telegram_pending_updates` and `telegram_last_error_date` gauge.

## Configuration

The `TELEGRAM_APITOKEN` environment variable must be set to your bot's token.
Data is refreshed every minute.