You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-29 23:07:45 +02:00
Export NoopSpan and NoopTracer (#92)
This commit is contained in:
committed by
rghetia
parent
0db77910a7
commit
56e1a9d1f4
@@ -27,7 +27,7 @@ func GlobalTracer() Tracer {
|
||||
if t := global.Load(); t != nil {
|
||||
return t.(Tracer)
|
||||
}
|
||||
return noopTracer{}
|
||||
return NoopTracer{}
|
||||
}
|
||||
|
||||
// SetGlobalTracer sets provided tracer as a global tracer.
|
||||
|
||||
Reference in New Issue
Block a user