Documentation forSolarWinds Observability SaaS

Lambda metrics

This topic covers the AWS Lambda metrics that can be gathered when monitoring your AWS cloud account. For information about using AWS Lambda to collect logs from your AWS cloud account, see Add logs from AWS. For information about AWS Lambda instrumentation for service entities, see AWS Lambda instrumentation.

AWS Lambda lets you run code without provisioning or managing servers. Ensure your cloud platform is configured in SolarWinds Observability SaaS to collect this service's data. See Add an AWS cloud account. CloudWatch metrics must also be enabled for this service in the AWS Console for the metric data to be available.

Many of the collected metrics from AWS Lambda entities are displayed as widgets in SolarWinds Observability explorers; additional metrics may be collected and available in the Metrics Explorer. You can also create an alert for when an entity's metric value moves out of a specific range. See Entities in SolarWinds Observability SaaS for information about entity types in SolarWinds Observability SaaS.

The following table lists some of the metrics collected for these entities. To see the AWS Lambda metrics in the Metrics Explorer, type AWS.Lambda in the search box.

Metric Units Description
sw.metrics.healthscore Percent (%)

Health state. The health state provides real-time insight into the overall health and performance of your monitored entities. The health state is determined based on anomalies detected for the entity, alerts triggered for the entity's metrics, and the status of the entity. The health state is displayed as one of the following four states and colors: Good, Moderate, Bad, or Unknown. You can determine the impact of the alerts, anomalies, and statuses on the health of an entity type by going to Settings > Health, and selecting a specific entity type. You can also customize the impact.

To view the health of AWS Lambda entities in the Metrics Explorer, filter the sw.metrics.healthscore metric by entity_types and select awslambda.

AWS.Lambda.AsyncEventsAge milliseconds (ms) The age of asynchronous events that are being processed. It helps in understanding the latency of event processing in the Lambda function.
AWS.Lambda.AsyncEventsDropped Count The number of asynchronous events that were dropped due to errors or exceeded retries. It helps in identifying issues with event processing and potential data loss.
AWS.Lambda.AsyncEventsReceived Count The number of asynchronous events received by the Lambda function. It provides insights into the workload and the volume of events being processed.
AWS.Lambda.ClaimedAccountConcurrency Count The number of concurrent executions claimed by the Lambda function. It helps in monitoring the utilization of the function's reserved concurrency and overall account concurrency.
AWS.Lambda.ConcurrentExecutions Count

ConcurrentExecutions. The maximum number of function instances that are processing events.

AWS.Lambda.DeadLetterErrors Count

DeadLetterErrors. The total 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.

AWS.Lambda.DestinationDeliveryFailures Count The number of times an asynchronous invocation's result could not be delivered to its destination due to issues such as permission errors or unreachable endpoints.
AWS.Lambda.Duration milliseconds (ms)

Duration. The average amount of time that your function code spends processing an event.

AWS.Lambda.ErrorRate Count

The rate of errors that occurred while invoking the Lambda function. It helps in understanding the reliability and stability of the function's execution.

AWS.Lambda.Errors Count

Errors. The total number of invocations that result in a function error.

AWS.Lambda.Invocations Count

Invocations. The total number of times that a function code is invoked, including successful invocations and invocations that result in a function error.

AWS.Lambda.IteratorAge milliseconds (ms)

IteratorAge. The maximum amount of time between when a stream receives the record and when the event source mapping sends the event to the function.

AWS.Lambda.OffsetLag milliseconds (ms) The difference between the last record processed and the latest record available in the event source. It helps in identifying whether the function is keeping up with the incoming data.
AWS.Lambda.OversizedRecordCount Count The number of records that exceed the maximum allowable size for processing. It helps in monitoring and managing large records that might need special handling.
AWS.Lambda.PostRuntimeExtensionsDuration milliseconds (ms)

The time spent running post-runtime extensions after the function execution completes. It helps in understanding the additional overhead introduced by extensions.

AWS.Lambda.ProvisionedConcurrentExecutions Count The number of concurrent executions that are provisioned for the Lambda function. It helps in ensuring that the function has enough capacity to handle incoming requests.
AWS.Lambda.ProvisionedConcurrencyInvocations Count The number of invocations that use provisioned concurrency. It helps you understand how many function executions are benefiting from pre-allocated compute capacity.
AWS.Lambda.ProvisionedConcurrencySpilloverInvocations Count The number of invocations that exceeded the provisioned concurrency and used on-demand capacity instead. It provides insights into how often your function is going beyond its reserved capacity.
AWS.Lambda.ProvisionedConcurrencyUtilization Percent (%) The percentage of provisioned concurrency that is being utilized. It helps you monitor the efficiency of your provisioned resources.
AWS.Lambda.RecursiveInvocationsDropped Count The number of recursive invocations that were dropped to prevent infinite loops or excessive recursion. It's useful for ensuring stability and avoiding resource exhaustion.
AWS.Lambda.ThrottleRate Percent (%)

The rate of throttled invocations due to reaching concurrency limits. It helps in identifying capacity issues and optimizing function performance.

AWS.Lambda.Throttles Count

Throttles. The total 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.

AWS.Lambda.UnreservedConcurrentExecutions Count

The number of concurrent executions that are not using reserved concurrency. It helps in monitoring the utilization of the function's overall concurrency capacity.