| 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 | |
| 123 | std::unique_ptr<sdktrace::SpanExporter> InitializeExporter() { |
nothing calls this directly
no test coverage detected