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 |
majorgreys
left a comment
There was a problem hiding this comment.
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 |
alertedsnake
left a comment
There was a problem hiding this comment.
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
okwe 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.