pkg/tracing
Martin Gencur 894c2f20c9
SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function (#2566)
* SetupStaticPublishing and SetupDynamicPublishing returns OpenCensusTracer

* The caller can then call Finish() to properly flush buffered Spans
before shutdown

* Make sure the WithExporterFull checks if the config is nil

* Parse cfg.Backend only if config is not nil

Otherwise proceed futher and let globalOct.closer to be closed which
actually flushes the remaining Spans.

* Provide Tracer type with Shutdown function

* Provide backwards compatible API

* Never return nil Tracer

* Provide SetupPublishingWithDynamicConfigAndInitialValue

* Remove SetupDynamicPublishingWithInitialValue
2022-08-15 21:25:47 +00:00
..
config Update actions (#2313) 2021-10-15 12:26:13 -07:00
propagation v2 (#1754) 2020-09-29 13:18:29 -07:00
testing Use consistent case for "Deprecated" comments (#2216) 2021-08-17 09:15:16 -07:00
depcheck_test.go drop stackdriver metrics and tracing exporters (#2183) 2021-07-14 11:45:31 -07:00
http.go Add tracecontextb3 HTTPFormats (#1429) 2020-06-23 10:35:27 -07:00
http_test.go SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function (#2566) 2022-08-15 21:25:47 +00:00
opencensus.go SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function (#2566) 2022-08-15 21:25:47 +00:00
opencensus_test.go SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function (#2566) 2022-08-15 21:25:47 +00:00
sampler_test.go drop stackdriver metrics and tracing exporters (#2183) 2021-07-14 11:45:31 -07:00
setup.go SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function (#2566) 2022-08-15 21:25:47 +00:00
zipkin.go Use consistent case for "Deprecated" comments (#2216) 2021-08-17 09:15:16 -07:00
zipkin_test.go SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function (#2566) 2022-08-15 21:25:47 +00:00