Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set span status on wsgi errors #864

Merged
merged 5 commits into from
Jul 7, 2020
Merged

Conversation

jan25
Copy link
Contributor

@jan25 jan25 commented Jun 27, 2020

Set INTERNAL error span status for unhandled uwsgi exceptions before calling span.end().

Fixes #846

Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
@jan25 jan25 requested a review from a team June 27, 2020 16:40
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 27, 2020

CLA Check
The committers are authorized under a signed CLA.

@jan25 jan25 closed this Jun 27, 2020
@jan25 jan25 reopened this Jun 27, 2020
@jan25 jan25 closed this Jun 27, 2020
@jan25 jan25 reopened this Jun 27, 2020
@jan25
Copy link
Contributor Author

jan25 commented Jun 27, 2020

Sorry about closing, wanted to make sure CLAs are checked.

Copy link
Contributor

@lzchen lzchen left a comment

Choose a reason for hiding this comment

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

Nice

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution @jan25! If you could update the CHANGELOG in /ext/opentelemetry-ext-wsgi, I'll be happy to approve and merge after

@jan25
Copy link
Contributor Author

jan25 commented Jun 29, 2020

@codeboten thanks for the review! Is there a tool/command to add CHANGELOG entry? Also, maybe a good idea to mention about this in CONTRIBUTING.md?

Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the changelog update!

@codeboten codeboten merged commit c0a5be5 into open-telemetry:master Jul 7, 2020
codeboten pushed a commit that referenced this pull request Jul 7, 2020
srikanthccv pushed a commit to srikanthccv/opentelemetry-python that referenced this pull request Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wsgi: set error status on span
3 participants