Adding instrumentation to your application’s code
When you code your applications, it should be easy to prepare appropriate monitoring endpoints and adequate monitoring tools to retrieve your application’s metrics. Observability helps us understand applications without really having good knowledge of their internal code. In this section, we will explore some tools that provide traces, metrics, and logs for our applications, without actively knowing our applications’ functionality. Monitoring and logging are part of the observation tasks but in a different context. We actively know where to retrieve the monitoring and logging information from, but sometimes, we need to go further – for example, when we run a third-party application or we don’t have enough time to add monitoring endpoints to our application. It is important to prepare for monitoring your applications from the very beginning, even when you start to plan your application. The same applies...