Skip to content

[BUG]: Some traces disappear on Node 24.2.0 #5946

@tjsousa

Description

@tjsousa

Tracer Version(s)

5.56.0

Node.js Version(s)

24.2.0

Bug Report

Since upgrading to Node 24 we ran into a weird situation where some traces suddenly disappear. We use BullMQ with ioredis for background jobs and even though some traces come in as normal, others completely disappeared even if logs continue to show everything working as normal.

We also use other Datadog products such as Errors, Profiler and Logs and all these continue to work.

Turning DD_TRACE_DEBUG=true does not show any error expect much less Encoding payload: messages, so assuming the issue happens before actually trying to send the spans to the agent.

Image

Currently blocked by this to upgrade to Node 24, any recommendation on what we can try to further diagnose the issue?

Reproduction Code

No response

Error Logs

No response

Tracer Config

tracer.init({
  logInjection: !!process.env.DD_ENV, // Only instrument logs if DD_ENV is set
  samplingRules: [
    {
      sampleRate: 0.01,
      service: 'redis_staging',
    },
    {
      sampleRate: 0.05,
      service: 'redis_production',
    },
  ],
});

Operating System

Linux 6.6.72+ #1 SMP PREEMPT_DYNAMIC Sun Apr 27 08:53:34 UTC 2025 x86_64 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