Metrics collected by Lambda Insights
Lambda Insights collects several metrics from the Lambda functions where it is installed. Some of these metrics are available as time series aggregated data in CloudWatch Metrics. Other metrics are not aggregated into time series data but can be found in the embedded metric format log entries by using CloudWatch Logs Insights.
The following metrics are available as time series aggregated data in CloudWatch Metrics
in the LambdaInsights
namespace.
Metric name | Dimensions | Description |
---|---|---|
|
function_name function_name, version |
Sum of Unit: Milliseconds |
|
function_name function_name, version |
The amount of time spent in the Unit: Milliseconds |
|
function_name function_name, version |
The maximum memory measured as a percentage of the memory allocated to the function. Unit: Percent |
|
function_name function_name, version |
The number of bytes received by the function. Unit: Bytes |
|
The amount of space used in the Unit: Bytes |
|
|
function_name function_name, version |
The number of bytes sent by the function. Unit: Bytes |
|
function_name function_name, version |
The amount of memory allocated to your Lambda function. This is the same as your function’s memory size. Unit: Megabytes |
|
function_name function_name, version |
Sum of Unit: Bytes |
|
function_name function_name, version |
The measured memory of the function sandbox. Unit: Megabytes |
The following metrics can be found in the embedded metric format log entries by using CloudWatch Logs Insights. For more information about CloudWatch Logs Insights, see Analyzing Log Data with CloudWatch Logs Insights.
For more information about embedded metric format, see Embedding metrics within logs.
Metric name | Description |
---|---|
|
The amount of time the CPU spent executing kernel code. Unit: Milliseconds |
|
Sum of Unit: Milliseconds |
|
The amount of time the CPU spent executing user code. Unit: Milliseconds |
|
The maximum number of file descriptors available. Unit: Count |
|
The maximum number of file descriptors in use. Unit: Count |
|
The maximum memory measured as a percentage of the memory allocated to the function. Unit: Percent |
|
The number of bytes received by the function. Unit: Bytes |
|
The number of bytes sent by the function. Unit: Bytes |
|
The number of threads in use by the function process. As a function author, you don't control the initial number of threads created by the runtime. Unit: Count |
|
The amount of space available in the Unit: Bytes |
|
The amount of memory allocated to your Lambda function. This is the same as your function’s memory size. Unit: Megabytes |
|
Sum of Unit: Bytes |
|
The measured memory of the function sandbox. Unit: Bytes |