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
Tyler Yahn d5292e3cd1
Do not store TracerProvider or Tracer fields in SDK recordingSpan (#2575)
* Do not store TracerProvider fields in span

Instead of keeping a reference to the span's Tracer, and therefore also
it's TracerProvider, and the associated resource and spanLimits just
keep the reference to the Tracer. Refer to the TracerProvider fields
when needed instead.

* Make span refer to the inst lib via the Tracer

Instead of holding a field in the span, refer to the field in the parent
Tracer.
2022-02-01 15:20:35 -08:00
..
tracetest Make the tracetest.SpanRecorder concurrent safe (#2178) 2021-08-12 09:12:31 -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 env support for batch span processor (#2515) 2022-01-28 10:07:21 -06:00
batch_span_processor.go Add env support for batch span processor (#2515) 2022-01-28 10:07:21 -06:00
benchmark_test.go Added Benchmarks around events (#2405) 2021-11-22 07:59:41 -08:00
config.go sdk/trace: removing ApplyConfig and Config (#1693) 2021-03-18 10:48:13 -07:00
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00
env_test.go Add env support for batch span processor (#2515) 2022-01-28 10:07:21 -06:00
env.go Add env support for batch span processor (#2515) 2022-01-28 10:07:21 -06:00
event.go chore: adds vanity import check. (#2255) 2021-09-27 22:37:26 -04:00
evictedqueue_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
evictedqueue.go Optimize evictedQueue implementation and use (#2556) 2022-01-27 13:55:21 -08:00
id_generator.go Interface stability documentation (#2012) 2021-06-18 07:56:11 -07:00
link.go Removed dropped link's attributes field from API package (#2118) 2021-07-26 11:06:41 -04:00
provider_test.go Add schema URL support to Tracer (#1889) 2021-05-27 15:22:38 -04:00
provider.go Do not store TracerProvider or Tracer fields in SDK recordingSpan (#2575) 2022-02-01 15:20:35 -08:00
sampling_test.go Deprecated the oteltest.TraceStateFromKeyValues function (#2122) 2021-07-26 11:12:53 -04:00
sampling.go Change Options to accept type not pointer (#2558) 2022-02-01 15:51:23 -06:00
simple_span_processor_test.go Fix imports in all files except generated files in jaeger exporter (#2383) 2021-11-13 08:35:04 -08:00
simple_span_processor.go Debug Logging for sdk/trace (#2500) 2022-01-10 19:58:01 -05:00
snapshot.go chore: adds vanity import check. (#2255) 2021-09-27 22:37:26 -04:00
span_exporter.go Interface stability documentation (#2012) 2021-06-18 07:56:11 -07:00
span_processor_annotator_example_test.go Add SpanProcessor example for Span annotation on start (#1733) 2021-04-21 14:40:52 -04:00
span_processor_filter_example_test.go Redefine ExportSpans of SpanExporter with ReadOnlySpan (#1873) 2021-05-04 16:45:13 -07:00
span_processor_test.go Handle nil testSpanProcessor (#2400) 2021-11-16 08:57:10 -08:00
span_processor.go Interface stability documentation (#2012) 2021-06-18 07:56:11 -07:00
span.go Do not store TracerProvider or Tracer fields in SDK recordingSpan (#2575) 2022-02-01 15:20:35 -08:00
trace_test.go Fix imports in all files except generated files in jaeger exporter (#2383) 2021-11-13 08:35:04 -08:00
tracer.go Do not store TracerProvider or Tracer fields in SDK recordingSpan (#2575) 2022-02-01 15:20:35 -08:00
util_test.go Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (#1702) 2021-03-18 09:34:47 -07:00