AWS Lambda is a compute service that allows code to run without provisioning or managing servers. AWS Lambda executes code only when needed and scales automatically, from a few requests per day to thousands per second.

The cost is based on the compute time that is consumed. For example, you pay only for the compute time you consume; there is no charge when your code is not running.

With AWS Lambda:

  • Code is run for virtually any type of application or back-end service - all with zero administration.

  • Code is run on a high-availability compute infrastructure and

  • Compute infrastructure performs all of the administration of the compute resources, including:

    • server and operating system maintenance.
    • capacity provisioning and automatic scaling.
    • code monitoring and logging.

Use the AWS public cloud integration to discover and collect metrics against the AWS service.

External reference

AWS Lambda

Setup

To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select Lambda.

Event support

CloudTrail event support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

CloudWatch alarm support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

Supported metrics

OpsRamp MetricMetric Display NameUnitAggregation Type
aws_lambda_Invocations

Measures the number of times a function is invoked in response to an event or invocation API call.
InvocationsCountSum
aws_lambda_Errors

Measures the number of invocations that failed due to errors in the function (response code 4XX).
ErrorsCountSum
aws_lambda_Duration

Measures the elapsed wall clock time from when the function code starts executing as a result of an invocation to when it stops executing.
DurationMillisecondsAverage
aws_lambda_Throttles

Measures the number of Lambda function invocation attempts that were throttled due to invocation rates exceeding the customers concurrent limits (error code 429).
ThrottlesCountSum
aws_lambda_DeadLetterErrors

Incremented when Lambda is unable to write the failed event payload to your functions dead-letter queue.
DeadLetterErrorsCountSum
aws_lambda_IteratorAge

Measures the age of the last record for each batch of records processed. Age is the difference between the time Lambda received the batch, and the time the last record in the batch was written to the stream.
IteratorAgeMillisecondsAverage
aws_lambda_ProvisionedConcurrentExecutions

Number of events that are being processed on provisioned concurrency. For each invocation of an alias or version with provisioned concurrency, Lambda emits the current count.
ProvisionedConcurrentExecutionsCountAverage
aws_lambda_ProvisionedConcurrencyInvocations

Number of invocations that are run on provisioned concurrency. Lambda increments the count once for each invocation that runs on provisioned concurrency.
ProvisionedConcurrencyInvocationsCountSum
aws_lambda_ProvisionedConcurrencySpilloverInvocations

Number of invocations that are run on standard concurrency, when all provisioned concurrency is in use. For a version or alias that is configured to use provisioned concurrency, Lambda increments the count once for each invocation that runs on non-provisioned concurrency.
ProvisionedConcurrencySpilloverInvocationsCountSum
aws_lambda_ProvisionedConcurrencyUtilization

Number of events that are being processed on provisioned concurrency, divided by Total amount of provisioned concurrency allocated.
ProvisionedConcurrencyUtilizationCountAverage
aws_lambda_ConcurrentExecutions

Measures the sum of concurrent executions for a given function at a given point in time.
ConcurrentExecutionsCountAverage