-
Notifications
You must be signed in to change notification settings - Fork 621
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
Update datadog exporter error tagging #459
Update datadog exporter error tagging #459
Conversation
…rror tags on datadog span
…icmustin/opentelemetry-python-contrib into update_datadog_exporter_error_tagging merge upstream
cc @majorgreys @alertedsnake @codeboten reviews welcome! cheers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the existing test sufficient to test the new event exception extraction?
@majorgreys I think so? our existing test raises an error with |
@ericmustin Thanks! Should a test be added for the fallback? Is there any scenario where this fallback is necessary? |
@majorgreys yea im not sure, i think let's just remove the old fallback approach, in practice we should never need it now, will update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks @ericmustin! I'm glad you got a chance to work on it before I could :)
@majorgreys |
Description
Fixes #244(#244). I think this is ready for review, pretty straightforward, when span status is not
ok
we iterate over events and look for exception info.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Updated Unit Tests
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.