mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-02-03 13:11:53 +02:00
Fix typo in example (#1278)
This commit is contained in:
parent
da3f60ac96
commit
412ee70ad2
2
doc.go
2
doc.go
@ -29,7 +29,7 @@ operation being performed as part of a traced workflow. It its simplest form:
|
||||
var tracer otel.Tracer
|
||||
|
||||
func init() {
|
||||
tracer := global.Tracer("instrumentation/package/name")
|
||||
tracer = global.Tracer("instrumentation/package/name")
|
||||
}
|
||||
|
||||
func operation(ctx context.Context) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user