Currently, the TracingInterceptor just add the error tag whenever an exception occurs.
I will like to be able to decorate the Span with other details about the exception, like the exception message. This will help our users find errors specially when exceptions are thrown while streaming data, where the response is just an incomplete stream, and have little detail on the underlying cause.
One idea I can think is to enhance the InterceptorSpanDecorator to have two new methods: decorateReadException and decorateWriteException, and call these when an error is catch. I will submit a PR with this idea shortly to better visualize it.
Currently, the TracingInterceptor just add the error tag whenever an exception occurs.
I will like to be able to decorate the Span with other details about the exception, like the exception message. This will help our users find errors specially when exceptions are thrown while streaming data, where the response is just an incomplete stream, and have little detail on the underlying cause.
One idea I can think is to enhance the InterceptorSpanDecorator to have two new methods: decorateReadException and decorateWriteException, and call these when an error is catch. I will submit a PR with this idea shortly to better visualize it.