-
Notifications
You must be signed in to change notification settings - Fork 514
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
namespace trace = opentelemetry::trace;
namespace nostd = opentelemetry::nostd;
nostd::shared_ptr<trace::Tracer> UJaeger::get_tracer()
{
auto provider = trace::Provider::GetTracerProvider();
auto tracer = provider->GetTracer(mod_name.c_str());
return tracer;
}
span = get_tracer()->StartSpan
Why do I have the same trace_ID when I am concurrent, I want each thread to have an independent trace_ID,
Initial start() I hope get_tracer()->GetCurrentSpan()->GetContext().trace_id(); to be 0
what should I do?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working