1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-04 09:43:23 +02:00
opentelemetry-go/sdk/trace
Cynthia Du 0d49b592ec
Add test to check bsp ignores OnEnd and ForceFlush post Shutdown` (#1772)
* Add test to check bsp ignores OnEnd and ForceFlush post shutdown

* Add to CHANGELOG

* Check for err return value

* Stop test execution if there's error with shutting down bsp

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Use assert to check there's no error calling bsp.ForceFlush()

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Import require

* Add error message for assertion on be.len()

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-04-06 14:54:26 -07:00
..
attributesmap_test.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
attributesmap.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
batch_span_processor_test.go Add test to check bsp ignores OnEnd and ForceFlush post Shutdown` (#1772) 2021-04-06 14:54:26 -07:00
batch_span_processor.go Add ExportTimeout option to batch span processor (#1755) 2021-04-05 10:38:03 -07:00
benchmark_test.go Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (#1702) 2021-03-18 09:34:47 -07:00
config.go sdk/trace: removing ApplyConfig and Config (#1693) 2021-03-18 10:48:13 -07:00
doc.go Update README and documentation to better communicate pre-GA state (#1281) 2020-10-29 09:23:13 -07:00
evictedqueue_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
evictedqueue.go chore: adds vanity import for files that don't have it. (#1297) 2020-11-04 09:10:58 -08:00
id_generator.go Enable support for externally-defined ID generators (#1363) 2020-12-09 20:30:32 -05:00
provider_test.go Add ForceFlush method to TracerProvider (#1608) 2021-03-08 11:12:13 -08:00
provider.go sdk/trace: removing ApplyConfig and Config (#1693) 2021-03-18 10:48:13 -07:00
sampling_test.go Update SamplingParameters (#1749) 2021-03-30 10:34:40 -07:00
sampling.go Update SamplingParameters (#1749) 2021-03-30 10:34:40 -07:00
simple_span_processor_test.go Make SpanContext Immutable (#1573) 2021-03-09 08:17:29 -08:00
simple_span_processor.go Make TraceFlags spec-compliant (#1770) 2021-04-05 10:21:42 -07:00
span_processor_example_test.go Add ForceFlush method to TracerProvider (#1608) 2021-03-08 11:12:13 -08:00
span_processor_test.go Store current Span instead of local and remote SpanContext in context.Context (#1731) 2021-03-29 08:55:44 -07:00
span_processor.go Add ForceFlush method to TracerProvider (#1608) 2021-03-08 11:12:13 -08:00
span.go Record links/events attribute drops independently (#1771) 2021-04-06 07:51:15 -07:00
trace_test.go Record links/events attribute drops independently (#1771) 2021-04-06 07:51:15 -07:00
tracer.go Remove links on NewRoot spans (#1726) 2021-03-25 10:36:39 -04:00
util_test.go Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (#1702) 2021-03-18 09:34:47 -07:00