Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Define default status behavior for spans when ending in failure #292

Closed
@lzchen

Description

@lzchen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions