Workaround for measuring latency for a system with Amazon MSK?
0
I'm exploring options for measuring latency for a system that uses Amazon MSK. While looking around, I saw a note that "X-Ray tracing is currently not supported for Lambda functions with Amazon Managed Streaming for Apache Kafka (Amazon MSK)": https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
At a high level, the system looks like: Client -> APIG -> Lambda -> MSK -> Lambda -> Lambda (in another account)
Are there other options that can measure a system's latency from end-to-end, even if it has MSK?
If there isn't, then would I have to manually define CloudWatch rules adding up latencies from the end of the system to the front of the system? How would this work cross-account?