1
0
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:
Isobel Redelmeier
2019-08-13 16:03:41 -07:00
committed by rghetia
parent 0db77910a7
commit 56e1a9d1f4
4 changed files with 27 additions and 27 deletions

View File

@@ -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.