When you turn on active tracing in AWS X-Ray, a trace automatically records information on the following subsegments of requests processed by the Lambda service that involve a cold start: Initialization, Invocation, and Overhead. If you're not seeing these subsegments in an AWS X-Ray trace, the request was likely made on a warmed instance.
For information on how to improve your Java Lambda function's performance, see How do I reduce initialization and invocation duration latency for my Java Lambda function?
How to minimize time consumption in lambda?Accepted Answerasked 2 years ago
Lambda Provisioned Concurrency on Version vs. Aliasasked 5 months ago
Recommended Lambda function sizeAccepted Answerasked 4 years ago
Lambda Function execution one by oneasked 5 days ago
Lambda provisioned concurrency for $LATEST, or, updating API gateway to refer to versionasked 7 months ago
Is Lambda invocation = 0 is a guaranteed metric that proves the Lambda function was unused during the period I provide to metric?Accepted Answerasked 6 months ago
How do I keep the time in sync in docker based lambda functionsAccepted Answerasked 8 months ago
How to invoke a lambda function from a real time gamelift serverasked 5 days ago
Does lambda function implement the single instance concurrency model?Accepted Answerasked 9 months ago
How do you track initialization metrics for a Lambda function?Accepted Answerasked 2 years ago