Skip to content

[BUG]: Requests and APM metrics zero-ing out with just a dd-trace upgrade 5.24.0 -> 5.35.0 #5247

@TREFZ

Description

@TREFZ

Tracer Version(s)

5.35.0

Node.js Version(s)

22.11.0

Bug Report

For our Node application, we pin dd-trace just to the major version, specifically v5. As part of a routine package-lock.json regeneration, our dd-trace version was bumped from 5.24.0 to 5.35.0. Immediately after release, our Datadog monitors for low request rates went off, showing that requests and all APM metrics were zero-ing out. But by all other monitoring, the website powered by this application was fine. The application was clearly responding to requests, and all traffic was normal.

On closer inspection of the released pull requests, we noted the upgrade in dd-trace, and maybe more importantly a major version upgrade to dd-trace's dependency @datadog/native-metrics. We can't say for sure if that was the cause, but after rolling back these changes, all Datadog activity returned to normal. For now, we've pinned our dd-trace version exactly to 5.24.0.

Shown below is our requests, segmented by release:

light blue = dd-trace 5.24.0
dark blue = dd-trace 5.35.0 upgrade, requests fall off a cliff
purple = back to dd-trace 5.24.0, requests return to normal

Image

Reproduction Code

No response

Error Logs

No response

Tracer Config

tracer.init({
  logInjection: true,
  runtimeMetrics: true,
  version: <release version>
});

Operating System

GNU/Linux

Bundling

No Bundling

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions