updates #207

Merged
vtolstov merged 293 commits from updates into v3 2023-03-24 00:29:35 +03:00
Showing only changes of commit aef7f53d88 - Show all commits

View File

@@ -100,13 +100,13 @@ type EventOption func(o *EventOptions)
func WithEventLabels(kv ...interface{}) EventOption { func WithEventLabels(kv ...interface{}) EventOption {
return func(o *EventOptions) { return func(o *EventOptions) {
o.Labels = kv o.Labels = append(o.Labels, kv...)
} }
} }
func WithSpanLabels(kv ...interface{}) SpanOption { func WithSpanLabels(kv ...interface{}) SpanOption {
return func(o *SpanOptions) { return func(o *SpanOptions) {
o.Labels = kv o.Labels = append(o.Labels, kv...)
} }
} }