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

CosmosDiagnostics: Fixes regression in ITrace where direct diagnostics was not included in exception scenarios #2375

Merged
merged 2 commits into from
Apr 9, 2021

Conversation

j82w
Copy link
Contributor

@j82w j82w commented Apr 9, 2021

Pull Request Template

Description

The ITrace was only adding the client side request stats to the ITrace on success scenarios. If there was any exception the ITrace would not be included. This changes the logic to always add the client side request stats to the ITrace.

The regression was introduced in 3.17.0 with PR #2097

Type of change

Please delete options that are not relevant.

  • [] Bug fix (non-breaking change which fixes an issue)
  • [] New feature (non-breaking change which adds functionality)
  • [] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [] This change requires a documentation update

Closing issues

To automatically close an issue: closes #2261

@j82w j82w added bug Something isn't working Diagnostics Issues around diagnostics and troubleshooting labels Apr 9, 2021
@j82w j82w changed the title CosmosDiagnostics: Fixes regression causing the Client Side Request Stats to be missing in exception scenarios CosmosDiagnostics: Fixes regression in ITrace where direct diagnostics was not included in exception scenarios Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Diagnostics Issues around diagnostics and troubleshooting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CosmosDiagnostics regressions: ITrace currently lose all information on exceptions
2 participants