We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3bdb19 commit 9a7fc19Copy full SHA for 9a7fc19
1 file changed
example/trace/otlpgrpc/example.go
@@ -52,7 +52,7 @@ func initTracer() (func(), error) {
52
53
tp := sdktrace.NewTracerProvider(
54
// For this example code we use sdktrace.AlwaysSample sampler to sample all traces.
55
- // In a production application, use sdktrace.ProbabilitySampler with a desired probability.
+ // In a production application, use sdktrace.TraceIDRatioBased with a desired probability.
56
sdktrace.WithSampler(sdktrace.AlwaysSample()),
57
sdktrace.WithBatcher(exporter))
58
0 commit comments