Question 640
A Python API initializes OpenTelemetry only after application startup and misses spans for early database requests. Which technical mechanism most directly explains the observed failure or unmet requirement?
Explanation
Correct Answer
The case is explained by this failure mechanism: Late instrumentation leaves early operations untraced. The reported circumstance is A Python API initializes OpenTelemetry only after application startup and misses spans for early database requests. The appropriate response is Initialize SDK providers, context propagation and instrumentation before registering the application's handlers.
Incorrect Answers
Baggage travels across trust boundaries and can expose sensitive data. This is a separate requirement; the current case instead hinges on: The case is explained by this failure mechanism: Late instrumentation leaves early operations untraced. The matching answer is: Late instrumentation leaves early operations untraced.
The alternative addresses: Exporter transport settings do not match the receiving collector listener. The reported constraint here is different: The case is explained by this failure mechanism: Late instrumentation leaves early operations untraced. The case-specific choice is: Late instrumentation leaves early operations untraced.
Creating a new root span without extracting context breaks distributed lineage. By contrast, the relevant technical condition here is: The case is explained by this failure mechanism: Late instrumentation leaves early operations untraced. The appropriate selection is: Late instrumentation leaves early operations untraced.