rubenlagus / TelegramBots

Java library to create bots using Telegram Bots API
https://telegram.me/JavaBotsApi
MIT License
4.54k stars 1.14k forks source link

Metrics Binding #1343

Closed Chase22 closed 2 months ago

Chase22 commented 2 months ago

I'd like to be able to further monitor the bot using different metrics. I think it's easier to implement a MeterBinder into the different parts of the library and monitor it internally. Micrometer is pobably the widest used library to do this as it does not dictate the metrics implementation, it's a monitoring facade similar to slf4j

A few planned metrics:

I'm open for suggestions, objections or opinions (hence the Discussion Label)