MCPcopy Create free account
hub / github.com/apache/arrow / OnEnd

Method OnEnd

cpp/src/arrow/util/tracing_internal.cc:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 public:
114 using sdktrace::BatchSpanProcessor::BatchSpanProcessor;
115 void OnEnd(std::unique_ptr<sdktrace::Recordable>&& span) noexcept override {
116 std::stringstream thread_id;
117 thread_id << std::this_thread::get_id();
118 span->SetAttribute("thread.id", thread_id.str());
119 sdktrace::BatchSpanProcessor::OnEnd(std::move(span));
120 }
121};
122
123std::unique_ptr<sdktrace::SpanExporter> InitializeExporter() {

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
SetAttributeMethod · 0.45

Tested by

no test coverage detected