1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-07 23:02:15 +02:00
opentelemetry-go/sdk
Tyler Yahn ec300b28ad
Update Span API event methods (#1254)
* 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.
2020-10-16 08:09:27 -07:00
..
export Rename Kind from the api/metric package (#1240) 2020-10-13 07:55:31 -07:00
instrumentation Update Tracer API with instrumentation version (#802) 2020-06-09 11:47:54 -07:00
internal Update codes to match specification (#1214) 2020-10-05 11:36:03 -07:00
metric Rename Kind from the api/metric package (#1240) 2020-10-13 07:55:31 -07:00
resource Don't consider unset env var to be an error during resource detection (#1170) 2020-09-14 12:08:05 -04:00
trace Update Span API event methods (#1254) 2020-10-16 08:09:27 -07:00
go.mod Pre release v0.13.0 (#1231) 2020-10-08 18:18:50 -04:00
go.sum Update codes to match specification (#1214) 2020-10-05 11:36:03 -07:00
opentelemetry.go Pre release v0.13.0 (#1231) 2020-10-08 18:18:50 -04:00
README.md Trace sdk (#65) 2019-08-02 13:52:55 -07:00