Skip to content

Commit

Permalink
WithAttributes can't be used on End
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Nov 27, 2024
1 parent 0f60b94 commit 1ed3999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ var _ SpanStartEventOption = attributeOption{}

// WithAttributes adds the attributes related to a span life-cycle event.
// These attributes are used to describe the work a Span represents when this
// option is provided to a Span's start or end events. Otherwise, these
// option is provided to a Span's start event. Otherwise, these
// attributes provide additional information about the event being recorded
// (e.g. error, state change, processing progress, system event).
//
Expand Down

0 comments on commit 1ed3999

Please sign in to comment.