Decision boundary
Treat trace routing as an application architecture decision, not as evidence that a backend received, retained, or displayed telemetry. The supplied Agents SDK material indicates that tracing starts enabled in ordinary use and can capture model activity, tool work, handoffs, guardrail activity, and application-defined events.
The table separates the four routing cases. Destination, access, retention, redaction, incident escalation, and evidence standards in the final column are proposed application policy rather than provider-prescribed implementation.
Four-case routing decision table
| Runtime boundary | Destination role | Default destination retained | Documented availability | Schema authority | Rejected inference | Policy owner | Bounded action |
|---|---|---|---|---|---|---|---|
| Normal SDK operation | Use the built-in tracing route. | Yes | Tracing is enabled initially in the supplied SDK guidance. | Use the Agents SDK tracing material for this routing choice; exclude the moved OpenTelemetry registry as an attribute authority. | Enabling or selecting this route does not establish receipt or dashboard display. | Application telemetry owner | Adopt only after the owner approves destination, access, retention, and escalation rules. |
| Before traces or runs are created | Send trace processing to an alternate destination instead of the standard route. | No | The SDK documentation permits a custom processor to replace its usual destination. | Use the Agents SDK tracing material for processor behavior; do not derive an attribute contract from the moved registry excerpt. | Replacement does not demonstrate that the alternate service accepted telemetry. | Application telemetry owner | Record the selected route and define independent acceptance evidence before relying on it operationally. |
| Proposed application policy: select the secondary route during startup. | Add another destination while preserving the normal route. | Yes | The SDK documentation permits a custom processor as an additional destination. | Use the Agents SDK tracing material for processor behavior; do not derive an attribute contract from the moved registry excerpt. | Two configured destinations do not prove successful delivery to either one. | Application telemetry owner | Assign separate retention, redaction, availability, and escalation rules to each destination. |
| Organization uses OpenAI APIs under a ZDR policy | Do not use SDK tracing for this workload. | No | The supplied tracing guidance marks SDK tracing unavailable for this policy setting. | No OpenTelemetry attribute authority is selected for this excluded SDK path. | Disabling SDK tracing does not establish the behavior of any separately designed telemetry route. | Organization policy owner | Choose an owner-approved alternate observability design, if one is needed, with its own retention and escalation policy. |
Hypothetical failure walkthrough
Suppose a team chooses replacement processing but expects the dashboard to remain visible. At selection time, it could preserve safe configuration evidence and any available non-sensitive trace or span linkage identifiers, while recording that dashboard visibility is an expectation rather than a confirmed outcome.
If dashboard status later cannot be established, the team should withdraw its delivery conclusion. It can escalate to the owner of the approved destination policy, decide whether to restore the standard route or nominate a new destination, and document the decision without asserting that an export succeeded.
The supplied tracing material says a processor change governs later callbacks and does not remove records already buffered by an earlier processor. That boundary should be considered during incident review, but it is not proof of export, storage, or display.
Keep payload scope separate from routing
Trace routing and payload selection answer different questions. The configuration guidance provides a per-run option that omits potentially sensitive inputs and outputs from trace payloads while tracing remains enabled.
A team should still define its own data classification, identifier handling, retention, access review, and redaction controls for every chosen destination. This is a suggested application design, not a provider-prescribed control set.
The supplied OpenTelemetry registry excerpt identifies relevant GenAI conventions as moved elsewhere. It is therefore excluded here as attribute authority; this article relies on the Agents SDK excerpts for the routing decision only.
Limits and review triggers
This guidance is confined to the supplied excerpts and makes no release-specific compatibility claim. Before implementation, verify the exact processor-registration boundary in the SDK package selected by the application.
- Reassess the decision when the relevant source material changes.
- Reassess it before or during an incompatible release transition.
- Maintain distinct evidence for processor invocation, local buffering, destination acceptance, and user-interface visibility.
- For a ZDR workload, obtain policy-owner approval for any alternate telemetry design before deployment.
The distinction is necessary, but the table should define reproducible evidence for each boundary rather than treating all post-configuration states alike. The supplied SDK material says that
flush_traces()blocks until currently buffered traces and spans are exported; that supports a bounded exporter/flush observation, not necessarily a destination-retention or dashboard-visibility conclusion. Conversely, processor configuration only establishes the intended routing path.Could the table require an evidence tuple keyed by
trace_id: (1) processor callback recorded locally, (2)flush_traces()return recorded after the trace closes, (3) an authenticated destination-side lookup finding that exact identifier, and (4) a dashboard lookup or screenshot/API result finding the same identifier? A negative control—an invalid destination credential or deliberately unreachable endpoint—would establish whether the chosen processor reports failure distinctly from successful invocation. Without those separate observations, “accepted” and “displayed” remain unresolved even when routing configuration is known.SDK tracing documentation