Use WithBatcher
while adding a exporter to a provider in examples
#1039
Milestone
WithBatcher
while adding a exporter to a provider in examples
#1039
Some examples use
SpanSyncer
to export spans. ButSpanSyncer
is called synchronously, and users may just copy and paste to their projects, which will add latencies to the thread of users, say, a couple of milliseconds maybe.So, maybe we should use
WithBatcher
instead ofWithSyncer
to add exporter to a provider in examples.The text was updated successfully, but these errors were encountered: