-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Cosmos] added client side session token to diagnostics #29516
Conversation
API change check API changes are not detected in this pull request. |
.../azure-cosmos/src/main/java/com/azure/cosmos/implementation/ClientSideRequestStatistics.java
Outdated
Show resolved
Hide resolved
.../azure-cosmos/src/main/java/com/azure/cosmos/implementation/ClientSideRequestStatistics.java
Outdated
Show resolved
Hide resolved
.../azure-cosmos/src/main/java/com/azure/cosmos/implementation/ClientSideRequestStatistics.java
Outdated
Show resolved
Hide resolved
.../azure-cosmos/src/main/java/com/azure/cosmos/implementation/ClientSideRequestStatistics.java
Show resolved
Hide resolved
.../azure-cosmos/src/main/java/com/azure/cosmos/implementation/ClientSideRequestStatistics.java
Outdated
Show resolved
Hide resolved
.../azure-cosmos/src/main/java/com/azure/cosmos/implementation/ClientSideRequestStatistics.java
Outdated
Show resolved
Hide resolved
...mos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/RxDocumentServiceRequest.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/CosmosDiagnosticsTest.java
Outdated
Show resolved
Hide resolved
@@ -283,6 +284,8 @@ public static class StoreResponseStatistics { | |||
private ResourceType requestResourceType; | |||
@JsonSerialize | |||
private OperationType requestOperationType; | |||
@JsonSerialize | |||
private String requestSessionToken; |
There was a problem hiding this comment.
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?
sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/CosmosDiagnosticsTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
/azp run cosmos - java - ci |
No pipelines are associated with this pull request. |
/azp run java - cosmos - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
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