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
- Host: GitHub
- URL: https://github.com/syfaro/tg-webhook-prom
- Owner: Syfaro
- License: unlicense
- Created: 2021-04-17T21:34:34.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T23:57:24.000Z (almost 2 years ago)
- Last Synced: 2025-04-11T04:36:18.121Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 79.1 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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.