Skip to content

Compatibility between this extension and datadog-lambda-python #925

Closed

Description

@keongalvin

I have a general inquiry regarding the compatibility of this extension layer and the datadog python lambda layer - this is motivated by the following debug/warning statement I encountered when using the latest versions of both layers in Lambda

debugger::unsupported_agentUnsupported Datadog agent detected. Snapshots from Dynamic Instrumentation/Exception Replay/Code Origin for Spans will not be uploaded. Please upgrade to version 7.49.0 or later

Specifically the layers used were

  • !Sub "arn:aws:lambda:${AWS::Region}:464622532012:layer:Datadog-Python313-ARM:115"
  • !Sub "arn:aws:lambda:${AWS::Region}:464622532012:layer:Datadog-Extension-ARM:88"

Possibly relevant env vars:

DD_CAPTURE_LAMBDA_PAYLOAD=true  
DD_TRACE_ENABLED=true  
DD_EXCEPTION_REPLAY_ENABLED=true  
DD_COLD_START_TRACING=false

Questions

  1. Its not immediately clear what version of the DataDog Agent is running on the extension - is it possible to improve visibility on the version?
  2. It will be useful to know which layers are compatible with each other

Cheers

Activity

  1. lym953 commented on Oct 22, 2025

    @lym953
    Contributor

    Likely a tracer related issue. Moving to datadog-lambda-python.
    The error is from here: https://github.com/DataDog/dd-trace-py/blob/b0e305ced8d3c046b1172ec83f7dc98dedfd4e03/ddtrace/debugging/_uploader.py#L139-L141

  2. lym953 commented on Oct 23, 2025

    @lym953
    Contributor
  3. lym953 commented on Nov 12, 2025

    @lym953
    Contributor

    #918 should fix this. However it won't be released in v89. Will be released in v90 in a few weeks.

  4. lym953 commented on Dec 1, 2025

    @lym953
    Contributor

    v90 is out! Can you try it?

  5. keongalvin commented on Dec 5, 2025

    @keongalvin
    Author

    v90 works well with library version 115. Thanks for the assist!

  6. lym953 commented on Dec 5, 2025

    @lym953
    Contributor

    Glad it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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