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

Requests exception handling #765

Conversation

HiveTraum
Copy link
Contributor

Exception handling for requests instrumentor

  • Canonical codes for different types of exceptions
  • Span attributes extracted from exception
  • Correct span closing for requests with raised errors (Didn't found my trace as span wasn't closed correct, there was a RequestException)

@HiveTraum HiveTraum requested a review from a team as a code owner June 2, 2020 14:40
@HiveTraum HiveTraum changed the title Feature/requests exception handling Requests exception handling Jun 2, 2020
@lzchen
Copy link
Contributor

lzchen commented Jun 2, 2020

Might be related:

open-telemetry/opentelemetry-specification#427

Copy link
Member

@toumorokoshi toumorokoshi left a comment

Choose a reason for hiding this comment

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

Great, thanks!

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 contribution!

@toumorokoshi
Copy link
Member

@toumorokoshi toumorokoshi merged commit 91f656f into open-telemetry:master Jun 5, 2020
srikanthccv pushed a commit to srikanthccv/opentelemetry-python that referenced this pull request Nov 1, 2020
Co-authored-by: Olivier Albertini <olivier.albertini@montreal.ca>
Co-authored-by: Valentin Marchaud <thisismac47@gmail.com>
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.

None yet

4 participants