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

[QUERY] how can I see http payload sent to azure ai search ? #44450

Closed
sabbadino opened this issue Jun 7, 2024 · 5 comments
Closed

[QUERY] how can I see http payload sent to azure ai search ? #44450

sabbadino opened this issue Jun 7, 2024 · 5 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. issue-addressed The Azure SDK team member assisting with this issue believes it to be addressed and ready to close. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Search

Comments

@sabbadino
Copy link

Library name and version

Latest net azure ai search nuget package

Query/Question

how can I see http payload sent to azure ai search ?

Environment

Windows , net 8

@github-actions github-actions bot added Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Search labels Jun 7, 2024
Copy link

github-actions bot commented Jun 7, 2024

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@sabbadino
Copy link
Author

  1. in startup : var opt = new SearchClientOptions
    {
    Diagnostics =
    {
    IsLoggingContentEnabled = true
    }
    };
    return new SearchIndexClient(new Uri(azureSearchServiceEndpoint), new AzureKeyCredential(azureSearchAdminKey), opt);

  2. in startup : services.TryAddSingleton();

  3. have AzureEventSourceLogForwarder injected somewhere and call .Start(); on it

@ShivangiReja
Copy link
Member

You can find more information about logging here: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md.

@ShivangiReja ShivangiReja added the issue-addressed The Azure SDK team member assisting with this issue believes it to be addressed and ready to close. label Jun 10, 2024
@github-actions github-actions bot removed the needs-team-attention This issue needs attention from Azure service team or SDK team label Jun 10, 2024
Copy link

Hi @sabbadino. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.

Copy link

Hi @sabbadino, since you haven’t asked that we /unresolve the issue, we’ll close this out. If you believe further discussion is needed, please add a comment /unresolve to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. issue-addressed The Azure SDK team member assisting with this issue believes it to be addressed and ready to close. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Search
Projects
Status: Done
Development

No branches or pull requests

2 participants