opentelemetry-go
opentelemetry-go copied to clipboard
sdk/trace: Allow errors supplied to RecordError to supply values for `semconv.ExceptionType`
This adds and uses an interface when determining the appropriate representation for the error that is supplied to semconv.ExceptionType.
Addresses part of #2591
This design does not look to be accepted.
@tmc, do you plan to move this forward or can we close the PR?
I haven't had time to attend a meeting to discuss this change but still believe it improves the quality of this library for Go developer/systems administrators.