From 218620180668f4335f3ad93fba7c4e658b9d3b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dario=20Casta=C3=B1=C3=A9?= Date: Fri, 26 Apr 2024 14:28:23 +0200 Subject: [PATCH] [v1.63.1] internal: Fixing _dd.p.dm decision maker collision on number 10 (#2673) Co-authored-by: Yuanyuan Zhao --- internal/samplernames/samplernames.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/samplernames/samplernames.go b/internal/samplernames/samplernames.go index 48f760925e..54836680ca 100644 --- a/internal/samplernames/samplernames.go +++ b/internal/samplernames/samplernames.go @@ -35,10 +35,11 @@ const ( // span sampling rules. SingleSpan SamplerName = 8 // Sampler name 9 is reserved/used by OTel ingestion. + // Sampler name 10 is reserved for Data jobs (spark, databricks etc) // RemoteUserRule specifies that the span was sampled by a rule the user configured remotely // through Datadog UI. - RemoteUserRule SamplerName = 10 + RemoteUserRule SamplerName = 11 // RemoteDynamicRule specifies that the span was sampled by a rule configured by Datadog // Dynamic Sampling. - RemoteDynamicRule SamplerName = 11 + RemoteDynamicRule SamplerName = 12 )