Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Add error data to span when an exception is raised in a span context#122

Merged
liyanhui1228 merged 5 commits intocensus-instrumentation:masterfrom
wkiser:stack_traces
Feb 20, 2018
Merged

Add error data to span when an exception is raised in a span context#122
liyanhui1228 merged 5 commits intocensus-instrumentation:masterfrom
wkiser:stack_traces

Conversation

@wkiser
Copy link
Copy Markdown
Contributor

@wkiser wkiser commented Feb 20, 2018

No description provided.

Copy link
Copy Markdown
Contributor

@liyanhui1228 liyanhui1228 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one comment. Thanks for adding support for StackTrace!

original_func_name=fn_name,
file_name=filename,
line_num=line_num,
col_num=0, # I don't think this is available in python
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is more meaningful for JavaScript.

Comment thread opencensus/trace/stack_trace.py Outdated
# See the License for the specific language governing permissions and
# limitations under the License.

import os
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sort the imports alphabetically.

@liyanhui1228 liyanhui1228 merged commit acab734 into census-instrumentation:master Feb 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants