Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI Integration: Get Request size from request diagnostics and optimize logic to get Response Size #3317

Open
sourabh1007 opened this issue Jun 29, 2022 · 0 comments

Comments

@sourabh1007
Copy link
Contributor

sourabh1007 commented Jun 29, 2022

  1. Expose an API in CosmosTraceDiagnostics to get request size out of diagnostics and use it in open telemetry.
  2. Right now, We are getting response size from stream or header content length. We should find a way to get response size in all the cases irrespective of availability of it in stream and header. ref [PREVIEW] AI Integration: Adds open telemetry support for most of the Operations #3277 (comment)
@sourabh1007 sourabh1007 self-assigned this Jun 29, 2022
@sourabh1007 sourabh1007 changed the title AI Integration: Get Request size from request diagnostics AI Integration: Get Request size from request diagnostics and optimize logic to get Response Size Jun 30, 2022
@sourabh1007 sourabh1007 moved this to Approved in Azure Cosmos SDKs Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Approved
Development

No branches or pull requests

1 participant