We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b1c082 commit 59b77daCopy full SHA for 59b77da
options.go
@@ -150,6 +150,6 @@ func WithQueryParams(b bool) TraceOption {
150
// WithDefaultAttributes will be set to each span as default.
151
func WithDefaultAttributes(attrs ...trace.Attribute) TraceOption {
152
return func(o *TraceOptions) {
153
- o.DefaultAttributes = append(o.DefaultAttributes, attrs...)
+ o.DefaultAttributes = attrs
154
}
155
0 commit comments