dd-trace-java icon indicating copy to clipboard operation
dd-trace-java copied to clipboard

Dropped due to a buffer overflow: [1 spans] (Will not log warnings for 1 minute)

Open sfat opened this issue 5 months ago • 3 comments

Tracer Version(s)

1.49.0

Java Version(s)

21.0.1

JVM Vendor

Amazon Corretto

Bug Report

Recently I've updated the dd-trace-java from 1.19.0 to 1.49.0 and seem to getting pretty frequently this warning

WARN datadog.trace.agent.common.writer.RemoteWriter - Dropped due to a buffer overflow: [1 spans] (Will not log warnings for 1 minute)

Is there a way that I can increase the buffer so I don't miss out logs?

I'm use datadog agent using helm chart and have the dd-trace-java injected in the pods.

Expected Behavior

Possible way to not have dropped spans. Maybe a way to configure the buffer size.

Reproduction Code

No response

sfat avatar Jul 24 '25 07:07 sfat

Ping - we're seeing this occasionally as well.

andersenleo avatar Oct 21 '25 06:10 andersenleo

So we are.

Using Datadog Agent 7.71.2 and dd_trace libaries 1.54.0 (will add Java version when I have it from the developer)

jcpoconnor avatar Nov 03 '25 14:11 jcpoconnor

got same issue

debu99 avatar Dec 09 '25 16:12 debu99