Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
See this code fragment in BaseQueryPlan.iterator(...):
// wrap the iterator so we start/end tracing as we expect TraceScope scope = Tracing.startNewSpan(context.getConnection(), "Creating basic query for " + getPlanSteps(iterator)); return (scope.getSpan() != null) ? new TracingIterator(scope, iterator) : iterator;
This will get the plan steps for each and every call to iterator, whether we're tracing or not.