xtrime-ru / TelegramApiServer

Fast, simple, async php telegram api server: MadelineProto + Amp HTTP Server
https://tg.i-c-a.su
MIT License
576 stars 130 forks source link

Feature Request : Server Status #41

Open artin opened 4 years ago

artin commented 4 years ago

If We sent getSessionList request to the TelegramApiServer .. We can see active sessions and memory usage , which is nice ...

But If you could able to add something like Apache (web server) Http Server Status .. to show :

1-Current Version 2- Uptime 3-Number of requests 4- Number of Errors ? 5-Number of Sessions 6-Memory usage 7- number of mysql queries ? and something more that you can access it ..

Could be very nice and handy Tools for checking and monitoring TelegramApiServer

Thanks

xtrime-ru commented 4 years ago

Thanks for suggestion.

Most of this items require to collect stats in different parts of app. I don`t think i will have time for such upgrade in near future. But i can guide you in my code, if you decide to make your pull request with such feature.

artin commented 4 years ago

I wish I could do it ... No extra time :( .. and I am not a pro PHP Developer (like you) .. and working on a project like this requires a lot of skills :) ( for a good result)