1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-25 22:41:46 +02:00

Unexport the simple and batch SpanProcessors (#1638)

* Unexport the simple and batch SpanProcessors

* Update changes in changelog
This commit is contained in:
Tyler Yahn
2021-03-05 16:08:29 +00:00
committed by GitHub
parent 992837f195
commit 62e2a0f766
4 changed files with 32 additions and 30 deletions

View File

@@ -198,7 +198,7 @@ func TestNewBatchSpanProcessorWithOptions(t *testing.T) {
}
}
func createAndRegisterBatchSP(option testOption, te *testBatchExporter) *sdktrace.BatchSpanProcessor {
func createAndRegisterBatchSP(option testOption, te *testBatchExporter) sdktrace.SpanProcessor {
// Always use blocking queue to avoid flaky tests.
options := append(option.o, sdktrace.WithBlocking())
return sdktrace.NewBatchSpanProcessor(te, options...)