Skip to content

Commit b16cbe4

Browse files
committed
fix: correct stale function reference in tracing doc
1 parent de5d1d9 commit b16cbe4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/dev/best-practices/tracing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Servers have an exporter service that batches spans and pushes them to a remote
2929

3030
### For servers
3131

32-
All servers need to initialize an OpenTelemetry exporter and tracer provider. See `cmd/ateapi/ateapi.go:initTracing()` for an example:
32+
All servers need to initialize an OpenTelemetry exporter and tracer provider. See `internal/serverboot.InitTracing()` (used by `cmd/ateapi/main.go`) for an example:
3333

3434
```go
3535
func initTracing(ctx context.Context) (*sdktrace.TracerProvider, error) {

0 commit comments

Comments
 (0)