Skip to content

Authorizer traces not correlated with API gateway traces #252

Closed
@arturenault

Description

@arturenault

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

  1. Create a lambda with a function gated by an API Gateway authorizer
  2. Cnfigure the datadog library and extension for both
  3. 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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions