Question 990
An OpenTelemetry exporter can reach a backend but traces are missing because the app exits before batches flush. After the proposed remediation, what should be observed?
Explanation
Correct Answer
Batch exporters buffer telemetry; shutdown flushing reduces loss from short-lived processes. The observed result “A short invocation's final spans appear in the tracing backend reliably” would confirm the change “Flush or shut down the OpenTelemetry span processor gracefully before the worker exits” in this situation: An OpenTelemetry exporter can reach a backend but traces are missing because the app exits before batches flush.
Incorrect Answers
Sampling manages trace storage and overhead while trading away some individual request visibility. The situation here is: An OpenTelemetry exporter can reach a backend but traces are missing because the app exits before batches flush. A test of this alternative would miss the specific outcome “A short invocation's final spans appear in the tracing backend reliably”.
KQL extend adds calculated columns without replacing the underlying source table. The situation here is: An OpenTelemetry exporter can reach a backend but traces are missing because the app exits before batches flush. A test of this alternative would miss the specific outcome “A short invocation's final spans appear in the tracing backend reliably”.
Well-defined span attributes and names make traces interpretable instead of a flat event list. The situation here is: An OpenTelemetry exporter can reach a backend but traces are missing because the app exits before batches flush. A test of this alternative would miss the specific outcome “A short invocation's final spans appear in the tracing backend reliably”.