8000 APIGW proxy spans missing URL field when upgrading layer to v125 · Issue #654 · DataDog/datadog-lambda-js · GitHub
[go: up one dir, main page]

Skip to content
APIGW proxy spans missing URL field when upgrading layer to v125 #654
Open
@GustavGomes

Description

@GustavGomes

We recently upgraded our extension from v63 to v78. Since the update, our Lambda functions invoked through APIGW are still sending spans, but the url tags are coming through empty. All the other tags seem to be showing up as expected.

export class DatadogConstruct extends Construct {
  constructor(scope: Construct, id: string, props: DatadogConstructProps) {
    super(scope, id);

    const datadog = new DatadogLambda(this, 'DatadogLambda', {
      nodeLayerVersion: 125, // upgraded from 115 to 125
      extensionLayerVersion: 78, // upgraded from 63 to 78
      apiKeySecret: secret,
    });

    datadog.addLambdaFunctions([props.handler]);

    props.handler.addEnvironment('DD_ENV', env);
    props.handler.addEnvironment('DD_SERVICE', props.appName);
    props.handler.addEnvironment('DD_TRACE_INFERRED_PROXY_SERVICES_ENABLED', 'true');
    props.handler.addEnvironment('DD_TRACE_OTEL_ENABLED', 'false');
    props.handler.addEnvironment('DD_PROFILING_ENABLED', 'false');
    props.handler.addEnvironment('DD_SERVERLESS_APPSEC_ENABLED', 'false');
  }
}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0