1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-07 23:02:15 +02:00
opentelemetry-go/sdk/trace
Hui Kang d75ccbb378
Add a Shutdown method to sdk TraceProvider (#1227)
* Add a Shutdown method to api TraceProvider

- sdktraceprovider shutdown span processors
- In examples, replace processosr shutdown with
  traceprovider's shutdown

Signed-off-by: Hui Kang <kangh@us.ibm.com>

* remove shutdown in the api provider interface

* Add context in parameter and return error

* handle error in shutdown

* Update CHANGELOG.md

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-10-26 09:20:49 -07:00
..
internal Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
attributesMap.go Unify api/label and api/kv in new label package (#1060) 2020-08-17 20:25:03 -07:00
batch_span_processor_test.go Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
batch_span_processor.go Move the otel/api/global package to otel/global (#1262) 2020-10-17 10:03:48 -07:00
benchmark_test.go Move trace api package into otel (#1229) 2020-10-08 19:58:56 -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 Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
provider_test.go Add a Shutdown method to sdk TraceProvider (#1227) 2020-10-26 09:20:49 -07:00
provider.go Add a Shutdown method to sdk TraceProvider (#1227) 2020-10-26 09:20:49 -07:00
sampling_test.go Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
sampling.go Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
simple_span_processor_test.go Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
simple_span_processor.go Move the otel/api/global package to otel/global (#1262) 2020-10-17 10:03:48 -07:00
span_processor_example_test.go Add example test for a custom SpanProcessor (#1196) 2020-09-24 18:20:18 -04:00
span_processor_test.go Add integration tests for span processor ordering (#1208) 2020-09-28 09:29:14 -07:00
span_processor.go Register/unregister in the fixed order (#1198) 2020-09-24 11:43:23 -07:00
span.go Move the otel/api/global package to otel/global (#1262) 2020-10-17 10:03:48 -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 Move the otel/api/global package to otel/global (#1262) 2020-10-17 10:03:48 -07:00
trace.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
tracer.go Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
util_test.go Rename *Provider names (#1190) 2020-09-23 18:16:13 -04:00