mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
98bb1056c0
* Replace recordingSpan attributes implementation Instead of an LRU strategy for cap-ing span attributes, comply with the specification and drop last added. To do this, the attributesmap is replaced with a slice of attributes. * Remove attributesmap files * Refine addition algorithm Unify duplicated code. Fix deduplication algorithm. Fix droppedAttributes to always be returned, even if the span has no attributes. * Unify span SetAttributes tests * Doc fix to attr drop order in changelog * Test span and snapshot attrs * fix lint * Add tests for recordingSpan method defaults * Comment why pre-allocation is not done * Correct grammar in recordingSpan allocation comment * Update sdk/trace/tracer.go Co-authored-by: Anthony Mirabella <a9@aneurysm9.com> Co-authored-by: Anthony Mirabella <a9@aneurysm9.com> |
||
---|---|---|
.. | ||
tracetest | ||
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 |