1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/sdk/trace
Vladimir Mihailenco 7ebd7b5ffa
Fix BatchSpanProcessor.Shutdown to wait until all spans are processed (#766)
* Fix BatchSpanProcessor.Shutdown to wait until all spans are processed

Currently it exits too soon - before drainQueue is finished

* Check bsp.stopCh to reliably drop span when batcher is stopped

* Enable tests

* Always use WithBlocking

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-06-09 15:20:48 -07:00
..
internal Rename trace.TraceID & trace.TraceIDFromHex 2020-05-03 13:48:38 +08:00
attributesMap.go Move core and key to kv package (#720) 2020-05-13 16:06:03 -07:00
batch_span_processor_test.go Fix BatchSpanProcessor.Shutdown to wait until all spans are processed (#766) 2020-06-09 15:20:48 -07:00
batch_span_processor.go Fix BatchSpanProcessor.Shutdown to wait until all spans are processed (#766) 2020-06-09 15:20:48 -07:00
benchmark_test.go Remove NewKey and update doc comment (#721) 2020-05-13 16:21:23 -07:00
config.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
doc.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
evictedqueue_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
evictedqueue.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
id_generator.go Rename trace.TraceID & trace.TraceIDFromHex 2020-05-03 13:48:38 +08:00
provider.go Update Tracer API with instrumentation version (#802) 2020-06-09 11:47:54 -07:00
sampling_test.go Rename TraceFlagsSampled, TraceFlagsUnused 2020-05-06 01:41:54 +08:00
sampling.go Remove SpanID from sampling parameters 2020-05-28 16:08:04 -07:00
simple_span_processor_test.go Rename trace.TraceID & trace.TraceIDFromHex 2020-05-03 13:48:38 +08:00
simple_span_processor.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
span_processor_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
span_processor.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
span.go Update concurrency support in test Handlers 2020-06-02 13:03:02 -07:00
trace_go11.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
trace_nongo11.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
trace_test.go Discard error in trace testing 2020-06-02 13:33:19 -07:00
trace.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
tracer.go Update Tracer API with instrumentation version (#802) 2020-06-09 11:47:54 -07:00
util_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00