AWS Lambda metrics and dimensions for Splunk Observability Cloud
The Splunk Lambda Extension of the Splunk OpenTelemetry Lambda layer collects high-resolution, low-latency metrics on AWS Lambda function execution. Read on to browse the metrics that the layer collects.
The Splunk Lambda Extension of the Splunk OpenTelemetry Lambda layer collects high-resolution, low-latency metrics each time the AWS Lambda function runs, including cold start, invocation count, function lifetime, and termination condition.
AWS Lambda metrics
The following table contains all the metrics reported by the Splunk Lambda Extension:
Metric name |
Type |
Description |
---|---|---|
|
Counter |
Number of Lambda function calls. |
|
Counter |
Number of function cold starts. |
|
Gauge |
Time spent between the start of the extension and the first Lambda invocation, in milliseconds. |
|
Counter |
Number of function shutdowns. |
|
Gauge |
Lifetime of the function, in milliseconds. The lifetime of the function might span multiple Lambda invocations. |
lambda.function.lifetime
metric for functions that are called rarely. Another indication of longer execution time might be an increased function concurrency.AWS Lambda dimensions
The following table contains all the dimensions reported by the Splunk Lambda Extension:
Dimension name |
Description |
---|---|
|
AWS unique ID. Used to correlate metrics with AWS tags. |
|
Amazon Resource Name (ARN) of the Lambda function instance. |
|
The AWS Region. |
|
The AWS Account ID. |
|
The name of the Lambda function. |
|
The version of the Lambda function. |
|
AWS function version qualifier. Can be version or version alias. Available only for invocations. |
|
The AWS Lambda execution environment. |
|
Reason for the shutdown. Available only for the |
Ingest modes for metrics
The Splunk Extension for AWS Lambda sends metrics in real time with minimal impact on monitored functions. The following ingest modes are available. Choose the ingest mode that best suits your case. For information on how to configure the ingest modes, see Metrics configuration.
Fast ingest mode
The fast ingest mode is similar to real-time monitoring in that it sends a metric update every time a monitored function is invoked. Use this mode when your functions are rarely called, accept increased concurrency, or require real-time metrics.
Buffering mode
Buffering mode minimizes the impact on monitored functions by buffering data points internally and send them at an interval specified using the REPORTING_RATE
and REPORTING_TIMEOUT
settings.
Use buffering mode when you don’t need near real-time feedback and don’t want to increase function latency. Don’t use buffering mode with functions that are invoked less frequently than the reporting interval, as this might cause delays in data reporting.
Tags and properties
By default, metrics reported by the Splunk Lambda Extension don’t have tag or properties attached to them. To activate this feature, you must configure an AWS data source in Splunk Observability Cloud. See Control the data and metadata to import.
Troubleshooting
To troubleshoot AWS Lambda metrics, see No data points or metrics in Splunk Observability Cloud.