Open MukulSoul opened 4 months ago
Thanks for the report. Looks like there are some differences in the Windows implementation of Pathlib we didn't account for. Will report back when we have a fixup PR.
In the meantime, you should be able to avoid these errors by setting the DD_PROFILING_ENABLE_CODE_PROVENANCE
environment variable to "false". This feature is used to implement "My code" in the Profiling UX, which allows users to filter out stuff like framework and library code in order to better focus on the parts of the system that they control.
OK, I think this will be fixed by #9720.
Summary of problem
While integrating DataDog library in FastAPI Application, the events are not exported to the dd-agent. The exception occurs for different values of module path, where the value is not a valid path rather string representation of type/object. The exception is as:
Which version of dd-trace-py are you using?
Python - 3.9 ddtrace - 2.9.2 poetry - 3.9.13
Which libraries and their versions are you using?
`pip freeze`