File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -438,8 +438,8 @@ func truncate(limit int, s string) string {
438
438
// End ends the span. This method does nothing if the span is already ended or
439
439
// is not being recorded.
440
440
//
441
- // The only SpanOption currently supported is WithTimestamp which will set the
442
- // end time for a Span's life-cycle .
441
+ // The only SpanEndOption currently supported are [trace. WithTimestamp], and
442
+ // [trace.WithStackTrace] .
443
443
//
444
444
// If this method is called while panicking an error event is added to the
445
445
// Span before ending it and the panic is continued.
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ var _ SpanStartEventOption = attributeOption{}
213
213
214
214
// WithAttributes adds the attributes related to a span life-cycle event.
215
215
// These attributes are used to describe the work a Span represents when this
216
- // option is provided to a Span's start or end events . Otherwise, these
216
+ // option is provided to a Span's start event . Otherwise, these
217
217
// attributes provide additional information about the event being recorded
218
218
// (e.g. error, state change, processing progress, system event).
219
219
//
You can’t perform that action at this time.
0 commit comments