<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How does the sampling precedence work ? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-does-the-sampling-precedence-work/m-p/291062#M38176</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we generate spans through multiples sources (one agent on the node, istio otel integration and otel in the application code).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Problem here is the traces are missing or inconsistent or getting overridden as there are multiple layers. The behaviour is quite intermittent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keen to know few things ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Will OneAgent tracing will have highest precedence and sampling rates set for those will be in action ?&lt;/P&gt;&lt;P&gt;- Will the Isito ones will have higher precedence ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Apparently OA merges them into one and trigger a new trace)&lt;/P&gt;&lt;P&gt;Thanks heaps&lt;/P&gt;</description>
    <pubDate>Tue, 09 Dec 2025 03:11:30 GMT</pubDate>
    <dc:creator>kunal_vaidya</dc:creator>
    <dc:date>2025-12-09T03:11:30Z</dc:date>
    <item>
      <title>How does the sampling precedence work ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-does-the-sampling-precedence-work/m-p/291062#M38176</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we generate spans through multiples sources (one agent on the node, istio otel integration and otel in the application code).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Problem here is the traces are missing or inconsistent or getting overridden as there are multiple layers. The behaviour is quite intermittent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keen to know few things ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Will OneAgent tracing will have highest precedence and sampling rates set for those will be in action ?&lt;/P&gt;&lt;P&gt;- Will the Isito ones will have higher precedence ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Apparently OA merges them into one and trigger a new trace)&lt;/P&gt;&lt;P&gt;Thanks heaps&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 03:11:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-does-the-sampling-precedence-work/m-p/291062#M38176</guid>
      <dc:creator>kunal_vaidya</dc:creator>
      <dc:date>2025-12-09T03:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: How does the sampling precedence work ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-does-the-sampling-precedence-work/m-p/291087#M38177</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;A title="Trace sampling" href="https://docs.dynatrace.com/docs/shortlink/url-sampling" target="_blank" rel="noopener"&gt;Trace sampling&lt;/A&gt;&amp;nbsp;docs maybe are useful.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 08:58:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-does-the-sampling-precedence-work/m-p/291087#M38177</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-12-09T08:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: How does the sampling precedence work ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-does-the-sampling-precedence-work/m-p/291180#M38185</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;When multiple instrumentation layers (OneAgent, Istio, and application-level OpenTelemetry) are active, there is no global “precedence” for sampling. Each component applies its own sampling rules when it starts a trace. If Istio initiates a trace, its sampling decision governs that trace; if the application or OneAgent starts first, their respective sampling applies. Dynatrace can merge spans from different sources into a single PurePath if W3C trace context is consistently propagated, but this does not override sampling decisions already made. To avoid missing or inconsistent traces, choose a single trace starter (e.g., Istio or app OTel), enforce W3C context propagation across all services, and configure OneAgent to join existing traces rather than compete.&lt;/P&gt;&lt;P&gt;Dynatrace documentation for reference:&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/adaptive-traffic-management/sampling" target="_blank" rel="noopener noreferrer"&gt;Trace sampling (OneAgent)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/oneagent-and-opentelemetry/configuration" target="_blank" rel="noopener noreferrer"&gt;Enable OpenTelemetry Span Sensor for OneAgent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://docs.dynatrace.com/docs/ingest-from/opentelemetry/integrations/istio" target="_blank" rel="noopener noreferrer"&gt;Configure OpenTelemetry tracing with Istio&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://docs.dynatrace.com/docs/observe/application-observability/distributed-tracing/ingest-traces" target="_blank" rel="noopener noreferrer"&gt;Ingest traces overview&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Dec 2025 21:46:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-does-the-sampling-precedence-work/m-p/291180#M38185</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2025-12-09T21:46:35Z</dc:date>
    </item>
  </channel>
</rss>

