Summary
In this chapter, we walked through the importance of auditing and monitoring. We emphasized the importance of measuring systems to avoid organizations going into the vicious cycle of opinion-based decision-making. A few exceptions of not needing auditing and monitoring were mentioned.
We also identified a few challenges when auditing and monitoring distributed systems. After highlighting the challenges we faced, we started to cover the key aspects of auditing and monitoring.
The data that’s captured for auditing and monitoring is different. A sample of the audit trail was demonstrated by Kotlin code so that we could cover the various types of data available for monitoring.
Next, the best practices for application-level logging were demonstrated through the use of sample code and a few logging frameworks. The techniques of structured logging and contextual logging were covered.
Afterward, we moved on to the aspect of centralizing and aggregating auditing and...