In traditional systems, we typically focus on observing the behavior of synchronous requests. However, our cloud-native systems are highly asynchronous and event-driven. Therefore, we need to place equal or greater attention on the flow of domain events through the system so that we can determine when these flows deviate from the norm. This recipe demonstrates how to collect domain event metrics.
Monitoring domain events
Getting ready
Before starting this recipe, you will need an AWS Kinesis Stream, such as the one created in the Creating an event stream recipe.