Skip to content

Commit

Permalink
WithStackTrace is also an available option
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Nov 27, 2024
1 parent 394505f commit 0f60b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/trace/span.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,8 @@ func truncate(limit int, s string) string {
// End ends the span. This method does nothing if the span is already ended or
// is not being recorded.
//
// The only SpanEndOption currently supported is WithTimestamp which will set the
// end time for a Span's life-cycle.
// The only SpanEndOption currently supported are [trace.WithTimestamp], and
// [trace.WithStackTrace].
//
// If this method is called while panicking an error event is added to the
// Span before ending it and the panic is continued.
Expand Down

0 comments on commit 0f60b94

Please sign in to comment.