Http Logs/Traces #195
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is your feature request related to a problem? Please describe.
I am having http problems when using the python-genai library to make LLM calls due to company restrictions.
Describe the solution you'd like
In order to help resolve these problems, I need to capture more info (logs/traces) for the failed requests. However, at the moment, the client just throws an exception and I have not found a way to log any request/response info other than the basic METHOD URL STATUS_CODE info that is logged when the
requests
logger is set to DEBUG.Describe alternatives you've considered
I've tried various tracing tools but these do not work since the requests client that the Google Client wraps is not instrumented.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: