mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-04 09:43:23 +02:00
c7ae470a16
* Refactor startSpanInternal into a tracer method The span creation and configuration process is split across the tracer Start method and the startSpanInternal function, each living in different files. This adds confusion when developing. It requires the developer to remember certain parts of the configuration happen in one place or the other. This unifies the creation and configuration of a new span. It makes this unification by creating a newSpan method on the tracer. This method will do all the configuration needed for a new span other than setting the execution task tracker. This remains a part of the Start method to preserve any existing timing and tracing the already exists. * Add a non-recording span to the SDK * Assign returned context from runtime trace task Co-authored-by: Anthony Mirabella <a9@aneurysm9.com> |
||
---|---|---|
.. | ||
tracetest | ||
attributesmap_test.go | ||
attributesmap.go | ||
batch_span_processor_test.go | ||
batch_span_processor.go | ||
benchmark_test.go | ||
config.go | ||
doc.go | ||
event.go | ||
evictedqueue_test.go | ||
evictedqueue.go | ||
id_generator.go | ||
link.go | ||
provider_test.go | ||
provider.go | ||
sampling_test.go | ||
sampling.go | ||
simple_span_processor_test.go | ||
simple_span_processor.go | ||
snapshot.go | ||
span_exporter.go | ||
span_processor_annotator_example_test.go | ||
span_processor_filter_example_test.go | ||
span_processor_test.go | ||
span_processor.go | ||
span.go | ||
trace_test.go | ||
tracer.go | ||
util_test.go |