Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Availability Monitoring #16

Open
LinqLover opened this issue Mar 17, 2021 · 1 comment
Open

Availability Monitoring #16

LinqLover opened this issue Mar 17, 2021 · 1 comment
Labels
devops Deployment and operations

Comments

@LinqLover
Copy link
Owner

LinqLover commented Mar 17, 2021

(Self-)hosting is connected to a number of concerns:

  1. As the hoster, I would like to be informed ASAP when the server stops working (i.e. is no longer reachable).
  2. For retrospective purposes, it would be nice to log this information so that I can see a table/visualization of all downtimes with their date/time and duration.

What about performance measuring (mean time to answer)?

There would be two general approaches:

  1. Try to detect errors from within the server image: This would provide qualitative insights about the sources of errors (i.e., a transparent ToolSet layer could be added that uses another TelegramBot to notify the hoster about all errors and warnings that arise). On the other hand, if there is any fundamental problem with the image, the VM, the docker container, the raspi, or the network of the hoster (see wiki), this approach won't fail, of course.
  2. Set up an external monitoring server that is in the greatest possible distance to the bot server. Hardly to realize due to limited resources, but it would provide an E2E perspective on the available. Thus maybe also relevant in the context of Integration Tests with TelegramClient are broken TelegramBot#4 (I guess we would need a mock telegram client in both cases).
@LinqLover LinqLover added the devops Deployment and operations label Mar 17, 2021
@LinqLover
Copy link
Owner Author

Noticeable that this could also help us to identify and to measure issues such as #14!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Deployment and operations
Projects
None yet
Development

No branches or pull requests

1 participant