open-telemetry / opentelemetry-python

OpenTelemetry Python API and SDK
https://opentelemetry.io
Apache License 2.0
1.67k stars 571 forks source link

Add capture the fully qualified type name for raised exceptions in spans #3837

Closed emdneto closed 2 months ago

emdneto commented 3 months ago

Fixes #3824

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Does This PR Require a Contrib Repo Change?

Answer the following question based on these examples of changes that would require a Contrib Repo Change:

Checklist:

linux-foundation-easycla[bot] commented 3 months ago

CLA Signed

The committers listed above are authorized under a signed CLA.

emdneto commented 3 months ago

Would be nice to add tests to check that it is working fine

@xrmx Thank you for your valuable review. I added a test and fixed the items you mentioned

tammy-baylis-swi commented 2 months ago

Please could you also add a changelog line linking this PR.

emdneto commented 2 months ago

@lzchen any idea why auto-merge failed?