Summary
Before you Go
Please kindly clean up your lab using the following command:
sls remove
Conclusion
Congratuations on finishing the lab. You have seen how we complement auto-instrumentation with manual steps to force Producer
function’s context to be sent to Consumer
function via a Record put on a Kinesis stream. This allowed us to build the expected Distributed Trace.
You can now build out a Trace manually by linking two different functions together. This is very powerful when your auto-instrumenation, or third-party systems, do not support context propagation out of the box.