Understanding your application’s behavior
Understanding how your application works can be very hard if you don’t know how your application works. This may sound obvious, but the better you know your application, the better you can implement different mechanisms to verify its status at every moment.
You, as a developer, have to ask yourself which is the best place in your code to add monitoring endpoints or flags. But your application should also be monitored using external third-party tools, which leads us to the following list of monitoring mechanisms:
- Internal application metrics: Implementing monitoring points in our code may be difficult at the end of the project, but if you introduce them from the beginning and measure the time between transactions, you will have a great overall performance view of your application.
- Internal health checks: Health checks are crucial for identifying when your application fails, but we can go further. We can have some...