From a6cbc55ef73796d87a1841c8ac220f7f0afb68c6 Mon Sep 17 00:00:00 2001 From: Stuart McCulloch Date: Fri, 20 Dec 2024 09:42:27 +0000 Subject: [PATCH] Call checkDynamicConfig() at DSM start to load tracer config, then again at Inbox start to merge agent config --- .../trace/core/datastreams/DefaultDataStreamsMonitoring.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dd-trace-core/src/main/java/datadog/trace/core/datastreams/DefaultDataStreamsMonitoring.java b/dd-trace-core/src/main/java/datadog/trace/core/datastreams/DefaultDataStreamsMonitoring.java index 11529991ae6..00b9c4504b4 100644 --- a/dd-trace-core/src/main/java/datadog/trace/core/datastreams/DefaultDataStreamsMonitoring.java +++ b/dd-trace-core/src/main/java/datadog/trace/core/datastreams/DefaultDataStreamsMonitoring.java @@ -136,6 +136,7 @@ public DefaultDataStreamsMonitoring( @Override public void start() { + checkDynamicConfig(); cancellation = AgentTaskScheduler.INSTANCE.scheduleAtFixedRate( new ReportTask(), this, bucketDurationNanos, bucketDurationNanos, TimeUnit.NANOSECONDS);