Collecting Data to Set Up Observability
Observability comes to life with data. Itβs the data that provides the insights, lets you analyze, make meaningful decisions, act in time to save service degradation, and in many cases, save your customers and your rapport with them. So, in your observability journey, carefully plan for what data you will ingest, from where, and at what frequency.
In Chapter 2, we talked about types of data β logs, metrics, and traces. This chapter leverages that knowledge and introduces you to the layers in the application architecture at which data is to be collected in one of these three forms. We have chosen four layers for this book β infrastructure, application, business service, and organization. Please note that these may or may not apply to your application architecture, and that is absolutely fine. We have chosen broad layers that will apply in general to most application architectures.