Business logic monitoring

Main business logic can be executed with use of single endpoint exposed by "gateway" service. The endpoint requires as an input following parameters: text and id of the project.

When system is stable following conditions are met:

  • There are no error logs in gateway application (namespace = "external", "app" = "gateway", level = ERROR)
  • Application responds with 200 HTTP status code when valid requests are sent
  • Application responds within set timeouts

Conditions above should be monitored with external services.

📘

It is possible to check stability by periodically sending the same text like "Good Morning" to gateway service. It's worth mentioning though that apart from the message there should be valid project id sent. Also, response might change depending on configuration of the selected project.