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

[Cosmos] added client side session token to diagnostics #29516

Merged
merged 10 commits into from
Jul 29, 2022

Conversation

simorenoh
Copy link
Member

@simorenoh simorenoh commented Jun 16, 2022

This PR covers the work for porting the same change that was made in the .NET SDK of adding the request session token to the diagnostics.

.NET: Azure/azure-cosmos-dotnet-v3#3176

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@@ -283,6 +284,8 @@ public static class StoreResponseStatistics {
private ResourceType requestResourceType;
@JsonSerialize
private OperationType requestOperationType;
@JsonSerialize
private String requestSessionToken;
Copy link
Member

@xinlian12 xinlian12 Jun 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we only show when it is not null? @kushagraThapar @FabianMeiswinkel you thoughts here?

Copy link
Member

@xinlian12 xinlian12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@simorenoh
Copy link
Member Author

/azp run cosmos - java - ci

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@simorenoh
Copy link
Member Author

/azp run java - cosmos - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@simorenoh
Copy link
Member Author

/azp run java - cosmos - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@simorenoh
Copy link
Member Author

/azp run java - cosmos - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@simorenoh
Copy link
Member Author

/azp run java - cosmos - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@simorenoh simorenoh merged commit ab9882d into Azure:main Jul 29, 2022
@simorenoh simorenoh deleted the add-session-token-request-diagnostic branch July 29, 2022 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants