Skip to content

Upgrade dd-trace-go v2 #204

Open
Open

Description

@xrn

Is there a chance that datadog-lambda-go would upgrade dd-trace-go dependency to v2? https://github.com/DataDog/dd-trace-go/releases

Activity

  1. happynancee commented on Jul 8, 2025

    @happynancee
    Contributor

    Hi @xrn We're currently working on this and will update this issue once its upgraded!

  2. acoover commented on Jul 18, 2025

    @acoover

    @happynancee can you provide guidance on whether or not this package can be used with v2 of dd-trace-go? I've followed the migration instructions here but haven't been able to get things to work, and I suspect it's because the datadog-lambda-go package is not using v2.

  3. joeyzhao2018 commented on Jul 30, 2025

    @joeyzhao2018
    Contributor

    Hi, we are actively working on this. Currently datadog-lambda-go doesn't support dd-trace-go v2. Please use dd-trace-go <= 1.73.1

  4. acoover commented on Jul 30, 2025

    @acoover

    @joeyzhao2018 do you have a target date for when this will be available? just so we can plan to make the upgrade on our side

  5. magnetikonline commented on Aug 1, 2025

    @magnetikonline

    Would also like to have the team look at this issue - the new tracer's internal telemetry code is posting incorrectly within AWS Lambda environments.

    DataDog/dd-trace-go/issues/3808

  6. joeyzhao2018 commented on Aug 2, 2025

    @joeyzhao2018
    Contributor

    Hi @acoover, I have created the PR above. We'll be doing some testing in the following weeks. Although we don't have a specific date, we will try to get this merged and released before September.

  7. magnetikonline commented on Aug 2, 2025

    @magnetikonline

    Thanks @joeyzhao2018 for the update 👍 I wonder if this might help our issue at DataDog/dd-trace-go/issues/3808 - keen to try this out once released.

  8. epot commented on Aug 12, 2025

    @epot

    Would bumping to 1.74.0 help in the meantime? I migrated my codebase to v2 and now traces are broken in my lambda with this log:

    2025/08/12 14:06:03 Datadog Tracer v1.73.0 WARN: Detected "v1.73.0" non-transitional version of dd-trace-go. This version is not compatible with v2 - please upgrade to v1.74.0 or later
    
  9. epot commented on Aug 28, 2025

    @epot

    @joeyzhao2018 is the ETA you gave above still valid? we are a bit blind in our lambdas since we bumped our project golang dependencies to the tracer v2 library, so we are anxious to get this change :)

  10. epot commented on Sep 8, 2025

    @epot

    I noticed that the way to add v2 support is still actively being discussed. Is there anything I can do (like use an experimental release or whatever) to unblock us?

  11. jcarugati commented on Sep 9, 2025

    @jcarugati

    Is there something blocking this from being implemented ?

  12. joeyzhao2018 commented on Sep 12, 2025

    @joeyzhao2018
    Contributor

    For a transitional workaround, we released datadog-lambda-go v1.27.0 which uses dd-trace-go v1.74.6. You should be able to use dd-trace-go v2 along with this version.

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

Metadata

Metadata

Assignees

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