Home / Companies / Lumigo / Blog / Post Details
Content Deep Dive

Monitor Lambda cold start durations with CloudWatch

Blog post from Lumigo

Post Details
Company
Date Published
Author
Yan Cui
Word Count
369
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

AWS Lambda provides an Initialization subsegment in X-Ray traces that represents the function's initialization code run before the handler, resolving dependencies and initializing global variables. This step is executed only once, but its duration can be significant, especially for functions with many dependencies. To optimize cold start durations, focus on reducing this initialization time, and AWS has introduced support for monitoring it through async-custom-metrics SAR since v1.5.1, allowing users to track the InitDuration metric.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 7 251 55 30 -45%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.