You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd expect with_span to catch errors/exceptions, call record_exception, set the span status, and then re-raise like it did in OpenCensus.Elixir. I can't see it happening, though, nor find any mechanism for it.
In the OT world, adding events for exceptions is the default for Python, though they also provide record_exception and set_status_on_exception as start options on their start_span so users can opt out. (Note it returns a context manager, so Python's with start_span(…): is equivalent to our with_span.)
The text was updated successfully, but these errors were encountered:
I'd expect
with_span
to catch errors/exceptions, callrecord_exception
, set the span status, and then re-raise like it did inOpenCensus.Elixir
. I can't see it happening, though, nor find any mechanism for it.In the OT world, adding events for exceptions is the default for Python, though they also provide
record_exception
andset_status_on_exception
as start options on their start_span so users can opt out. (Note it returns a context manager, so Python'swith start_span(…):
is equivalent to ourwith_span
.)The text was updated successfully, but these errors were encountered: