We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The OTLP gRPC examples set a batch timeout of 5ns. This should probably be 5s.
tp := sdktrace.NewTracerProvider( sdktrace.WithConfig(sdktrace.Config{DefaultSampler: sdktrace.AlwaysSample()}), sdktrace.WithBatcher( exp, // add following two options to ensure flush sdktrace.WithBatchTimeout(5), sdktrace.WithMaxExportBatchSize(10), ), )
Please update all examples to use sdktrace.WithBatchTimeout(5 * time.Second).
sdktrace.WithBatchTimeout(5 * time.Second)
The text was updated successfully, but these errors were encountered:
Use reasonable interval in sdktrace.WithBatchTimeout
0af882d
This patch resolves open-telemetry#1564.
Use reasonable interval in sdktrace.WithBatchTimeout (#1621)
1519d95
* Use reasonable interval in sdktrace.WithBatchTimeout This patch resolves #1564. * Add pull request ID to CHANGELOG.md
Use reasonable interval in sdktrace.WithBatchTimeout (open-telemetry#…
ed3afc7
…1621) * Use reasonable interval in sdktrace.WithBatchTimeout This patch resolves open-telemetry#1564. * Add pull request ID to CHANGELOG.md
Successfully merging a pull request may close this issue.
The OTLP gRPC examples set a batch timeout of 5ns. This should probably be 5s.
Please update all examples to use
sdktrace.WithBatchTimeout(5 * time.Second)
.The text was updated successfully, but these errors were encountered: