-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fixed issue where CosmosDiagnosticsContext is null when diagnostics are sampled out. #39352
Fixed issue where CosmosDiagnosticsContext is null when diagnostics are sampled out. #39352
Conversation
/azp run java - cosmos- tests |
No pipelines are associated with this pull request. |
sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/CosmosDiagnosticsE2ETest.java
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/util/CosmosPagedFlux.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 @FabianMeiswinkel
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 java - cosmos- tests |
No pipelines are associated with this pull request. |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
API change check API changes are not detected in this pull request. |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
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 on the latest changes - thanks!
Change feed split tests failing due to known flakiness |
/check-enforcer override |
Description
When diagnostics are sampled out right now not even the CosmosDiagnosticsContext gets published. Instead sampling should only effect emitting diagnostics (calling DiagnosticsHandler) - but still allow apps to access the CosmosDiagnosticsContext.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines