Features of AWS Lambda instrumentation
mainThe Elastic APM Node.js agent provides automatic instrumentation for AWS Lambda functions with the following capabilities:
- Transaction Reporting: A transaction is reported for every function invocation.
- Module Tracing: Traces all supported modules.
- Trigger-specific Data: Transactions capture additional metadata for specific Lambda triggers, including:
- API Gateway
- SNS
- SQS
- S3 (when the trigger is a single event)
- ELB
- Error Reporting: Transactions are reported for invocations that fail due to a timeout, crash,
uncaughtException, orunhandledRejection.
Note: To report failures from timeouts, crashes, or unhandled exceptions, you must use APM agent v3.45.0 or later and Elastic’s APM Lambda extension version 1.4.0 or later.