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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 Bug Report: Errors are not logged #412
Comments
Hi @nirga. Could you specify which components or packages within the project interact directly with foundation model APIs? This information will help narrow down the search to the relevant parts of the codebase. Also, could you provide insight into how a 'failed span' is defined or identified within the context of the project? This will aid in accurately logging the relevant events as failed spans. |
Hey @HappyLife2! This is how a failed span should be logged: https://opentelemetry.io/docs/languages/python/instrumentation/#record-exceptions-in-spans |
I can be assigned to this one if no one wants it. |
That would be great @epg323 :) |
Which component is this bug for?
All Packages
馃摐 Description
If an HTTP error is returned from a foundation model API, we don't properly log it as a failed span.
馃憻 Reproduction steps
N/A
馃憤 Expected behavior
N/A
馃憥 Actual Behavior with Screenshots
N/A
馃 Python Version
No response
馃搩 Provide any additional context for the Bug.
No response
馃憖 Have you spent some time to check if this bug has been raised before?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: