Warn on intitialization of Simple SpanProcessor #1875
Labels
area:trace
Part of OpenTelemetry tracing
enhancement
New feature or request
help wanted
Extra attention is needed
pkg:SDK
Related to an SDK package
Milestone
Problem Statement
The
simpleSpanProcessor
is not intended for use outside of development and debugging. However, many early examples and demos included its use and users report with some regularity performance issues caused by its use.Proposed Solution
We should emit a warning when
NewSimpleSpanProcessor()
is invoked.Alternatives
Documentation and examples have already been updated to use a batch span processor.
The text was updated successfully, but these errors were encountered: