Download PDF
Download page AWS Lambda.
AWS Lambda
AWS Lambda is a compute service that lets you run code without provisioning or managing servers.
You must configure cloud connections to monitor this entity. See Set up Cisco AppDynamics Cloud Collectors to Monitor AWS.
Cisco Cloud Observability displays AWS entities on the Observe page. Metrics are displayed for specific entity instances in the list and detail views.
This document contains references to third-party documentation. Splunk AppDynamics does not own any rights and assumes no responsibility for the accuracy or completeness of such third-party documentation.
Detail View
To display the detail view for an AWS Lambda instance:
- Navigate to the Observe page.
- Under Compute, click AWS Lambdas.
The AWS Lambdas list view now displays. - Click a Lambda Name to display the detail view.
The detail view displays metrics, key performance indicators, and properties (attributes) related to the selected instance.
Metrics and Key Performance Indicators
Cisco Cloud Observability displays the following metrics and key performance indicators (KPIs) for AWS Lambda. See Working with Lambda function metrics.
AWS Lambda metrics in Cisco Cloud Observability may not match with AWS Cloudwatch. The data delay for AWS Lambda metrics can be as high as 20 minutes and AWS CloudWatch uses a batching strategy to output data, which means that data may be updated after Cisco Cloud Observability has collected it.
Display Name | Source Metric | Description |
---|---|---|
Invocations (Count) |
| The number of times that your function code is invoked, including successful invocations and invocations that result in a function error. Invocations aren't recorded if the invocation request is throttled or otherwise results in an invocation error. This equals the number of requests billed. |
| The number of times that your function code is invoked on provisioned concurrency. | |
ProvisionedConcurrencySpilloverInvocations | The number of times that your function code is invoked on standard concurrency when all provisioned concurrency is in use. | |
Concurrency (Executions) |
| The number of function instances that are processing events. If this number reaches your concurrent executions quota for the Region, or the reserved concurrency limit that you configured on the function, Lambda throttles additional invocation requests. |
| The number of function instances that are processing events on provisioned concurrency. For each invocation of an alias or version with provisioned concurrency, Lambda emits the current count. | |
| For a Region, the number of events that functions without reserved concurrency are processing. | |
Duration (ms) | Duration | The amount of time that your function code spends processing an event. The billed duration for an invocation is the value of Duration rounded up to the nearest millisecond. |
PostRuntimeExtensionsDuration | The cumulative amount of time that the runtime spends running code for extensions after the function code has completed. | |
IteratorAge | For event source mappings that read from streams, the age of the last record in the event. The age is the amount of time between when a stream receives the record and when the event source mapping sends the event to the function. | |
OffsetLag | For self-managed Apache Kafka and Amazon Managed Streaming for Apache Kafka (Amazon MSK) event sources, the difference in offset between the last record written to a topic and the last record that your Lambda function's consumer group processed. Though a Kafka topic can have multiple partitions, this metric measures the offset lag at the topic level. | |
Errors (Count) | Errors | The number of invocations that result in a function error. Function errors include exceptions that your code throws and exceptions that the Lambda runtime throws. The runtime returns errors for issues such as timeouts and configuration errors. To calculate the error rate, divide the value of Errors by the value of Invocations. Note that the timestamp on an error metric reflects when the function was invoked, not when the error occurred. |
DeadLetterErrors | For asynchronous invocation, the number of times that Lambda attempts to send an event to a dead-letter queue but fails. Dead-letter errors can occur due to permissions errors, misconfigured resources, or size limits. | |
DestinationDeliveryFailures | For asynchronous invocation, the number of times that Lambda attempts to send an event to a destination but fails. Delivery errors can occur due to permissions errors, misconfigured resources, or size limits. | |
Throttles (Count) | Throttles | The number of invocation requests that are throttled. When all function instances are processing requests and no concurrency is available to scale up, Lambda rejects additional requests with a TooManyRequestsException error. Throttled requests and other invocation errors don't count as Invocations or Errors. |
CPU Total Time (ms) | cpu_total_time | The sum of cpu_system_time and cpu_user_time . |
Init Duration (ms) | init_duration | The amount of time spent in the init phase of the Lambda execution environment lifecycle. |
Memory Utilization (%) | memory_utilization | The maximum memory measured as a percentage of the memory allocated to the function. |
Memory Limit (MB) | total_memory | The amount of memory allocated to the Lambda function. |
Memory Used Max (MB) | used_memory_max | The measured memory of the function sandbox. |
Network Throughput (Bytes) | Network IO (total_network ) | Sum of rx_bytes and tx_bytes . |
Network Received IO (rx_bytes ) | The number of bytes received by the function. | |
Network Transmitted IO (tx_bytes ) | The number of bytes sent by the function. |
Properties (Attributes)
Cisco Cloud Observability displays the following properties for AWS Lambda.
Display Name | Property Name | Description |
---|---|---|
Name | cloud.function.name | The name of the function. |
ARN | cloud.function.arn | The function’s Amazon Resource Name (ARN). |
Runtime | aws.lambda.runtime | The runtime environment for the Lambda function. |
Code Size | aws.lambda.code_size | The size of the function’s deployment package, in bytes. |
Description | aws.lambda.description | The function’s description. |
Timeout | aws.lambda.timeout | The amount of time in seconds that Lambda allows a function to run before stopping it. |
Cloud Function Maximum Memory | cloud.function.max_memory | The amount of memory available to the function at runtime. |
Last Modified | aws.lambda.last_modified | The date and time that the function was last updated. |
Version | cloud.function.version | The version of the Lambda function. |
Layers | aws.lambda.layer_arns | The Amazon Resource Name (ARN) of all the function layers. |
Architecture | aws.lambda.architecture | The instruction set architecture that the function supports. |
Storage | aws.lambda.tmp_file.size | The size of the function’s /tmp directory in MB. |
Retention and Purge Time-To-Live (TTL)
For all cloud and infrastructure entities, the retention TTL is 180 minutes (3 hours) and the purge TTL is 525,600 minutes (365 days).
Amazon Web Services, the AWS logo, AWS, and any other AWS Marks used in these materials are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.