Closed
Description
Right now, status
of the span does not seem to be explicitly set when end()
is called on a span. The default is OK
which is fine for when a span finishes successfully, but when an exception is thrown, the status is not set. In OpenCensus the status seems to be derived from the exception thrown. We should at least set the status
of the span to Unknown
when this happens. I believe pymongo integration does the same thing.