Closed
Description
Expected Behavior
If a lambda is gated behind an AWS API Gateway Authorizer, I'd expect the call to the authorizer to be part of the same trace as the overall API Gateway call and lambda execution.
Actual Behavior
The overarching trace that captures the full request trace goes through to the main lambda, but not to the authorizer lambda. That one has a separate trace.
Steps to Reproduce the Problem
- Create a lambda with a function gated by an API Gateway authorizer
- Cnfigure the datadog library and extension for both
- See the traces separately on the dashboard
Specifications
- Serverless Framework version: 3.12.0 (upgraded to debug, was using 2.72.2 before)
- Datadog Serverless Plugin version: 4.3.0 (upgraded to debug, was using 3.7.1 before)
- Lambda function runtime (Python 3.7, Node 10, etc.): Node 14
Let me know if this isn't the right place for this issue - I'm using the plugin so I figured I'd start here.