mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +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. |
||
---|---|---|
.. | ||
config.go | ||
doc.go | ||
event.go | ||
harness.go | ||
mock_span.go | ||
mock_tracer_test.go | ||
mock_tracer.go | ||
provider.go | ||
span_test.go | ||
span.go | ||
text_map_propagator_test.go | ||
text_map_propagator.go | ||
tracer_test.go | ||
tracer.go |