mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-04 09:43:23 +02:00
ec300b28ad
* Update Span API event methods Remove the context argument from the event methods. It is unused and can be added back in as a passed option if needed in the future. Update AddEvent to accept a required name and a set of options. These options are the new EventOption type that can be used to configure a SpanConfig Timestamp and Attributes. Remove the AddEventWithTimestamp method as it is redundant to calling AddEvent with a WithTimestamp option. Update RecordError to also accept the EventOptions. * Add changes to CHANGELOG * Add LifeCycleOption Use the LifeCycleOption to encapsulate the options passed to a span for life cycle events. |
||
---|---|---|
.. | ||
internal | ||
attributesMap.go | ||
batch_span_processor_test.go | ||
batch_span_processor.go | ||
benchmark_test.go | ||
config.go | ||
doc.go | ||
evictedqueue_test.go | ||
evictedqueue.go | ||
id_generator.go | ||
provider.go | ||
sampling_test.go | ||
sampling.go | ||
simple_span_processor_test.go | ||
simple_span_processor.go | ||
span_processor_example_test.go | ||
span_processor_test.go | ||
span_processor.go | ||
span.go | ||
trace_go11.go | ||
trace_nongo11.go | ||
trace_test.go | ||
trace.go | ||
tracer.go | ||
util_test.go |