Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[checkout] fix instrumentation docs #391

Merged
merged 3 commits into from
Sep 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/services/checkoutservice.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
This service is responsible to process a checkout order from the user. The
checkout service will call many other services in order to process an order.

[Checkout service source](../../src/checkoutservice/README.md)
[Checkout service source](../../src/checkoutservice/)

## Traces

### Initialize trace provider
### Initialize tracer provider

The OpenTelemetry SDK is initialized from `main` using the `initTracerProvider`
function.
Expand All @@ -29,7 +29,7 @@ func initTracerProvider() *sdktrace.TracerProvider {
}
```

You should call `TraceProvider.shutdown()` when your service is shutdown to
You should call `TracerProvider.Shutdown()` when your service is shutdown to
ensure all spans are exported. This service makes that call as part of a
deferred function in main

Expand Down