Introduction
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.
Note
Use the OpsRamp AWS public cloud integration to discover and collect metrics against the AWS service.Setup
To set up the OpsRamp AWS integration and discover the AWS service,
go to AWS Integration Discovery Profile and select Lambda
.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Aggregation Type | Description |
---|---|---|---|---|
aws_lambda_Invocations | Invocations | Count | Sum | Measures the number of times a function is invoked in response to an event or invocation API call. |
aws_lambda_Errors | Errors | Count | Sum | Measures the number of invocations that failed due to errors in the function (response code 4XX). |
aws_lambda_Duration | Duration | Milliseconds | AVERAGE | Measures the elapsed wall clock time from when the function code starts executing as a result of an invocation to when it stops executing. |
aws_lambda_Throttles | Throttles | Count | Sum | Measures the number of Lambda function invocation attempts that were throttled due to invocation rates exceeding the customers concurrent limits (error code 429). |
aws_lambda_DeadLetterErrors | DeadLetterErrors | Count | Sum | Incremented when Lambda is unable to write the failed event payload to your functions dead-letter queue. |
aws_lambda_IteratorAge | IteratorAge | Milliseconds | Average | 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. |
aws_lambda_ProvisionedConcurrentExecutions | ProvisionedConcurrentExecutions | Count | Average | 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. |
aws_lambda_ProvisionedConcurrencyInvocations | ProvisionedConcurrencyInvocations | Count | Sum | Number of invocations that are run on provisioned concurrency. Lambda increments the count once for each invocation that runs on provisioned concurrency. |
aws_lambda_ProvisionedConcurrencySpilloverInvocations | ProvisionedConcurrencySpilloverInvocations | Count | Sum | 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. |
aws_lambda_ProvisionedConcurrencyUtilization | ProvisionedConcurrencyUtilization | Count | Average | Number of events that are being processed on provisioned concurrency, divided by Total amount of provisioned concurrency allocated. |
aws_lambda_ConcurrentExecutions | ConcurrentExecutions | Count | Average | Measures the sum of concurrent executions for a given function at a given point in time. |
Event support
CloudTrail event support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile.
CloudWatch alarm support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile.