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

[Internal] Client Telemetry: Fixes loggers #4594

Merged
merged 3 commits into from
Jul 24, 2024

Conversation

sourabh1007
Copy link
Contributor

@sourabh1007 sourabh1007 commented Jul 20, 2024

Description

This PR would fix this issue: #4592

Type of change

  • [] Bug fix (non-breaking change which fixes an issue)

Closing issues

To automatically close an issue: closes #4592

@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/fixclienttelemetrybug branch 2 times, most recently from 4f8b0eb to b7bd57e Compare July 23, 2024 16:59
@sourabh1007 sourabh1007 marked this pull request as ready for review July 23, 2024 17:24
@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/fixclienttelemetrybug branch from b7bd57e to d4780f6 Compare July 23, 2024 17:25
@sourabh1007 sourabh1007 changed the title [Internal] Client Telemetry: Fixes logs and negative latency record [Internal] Client Telemetry: Fixes loggers Jul 23, 2024
@sourabh1007 sourabh1007 added the auto-merge Enables automation to merge PRs label Jul 24, 2024
Copy link
Contributor

@philipthomas-MSFT philipthomas-MSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@kirankumarkolli kirankumarkolli merged commit 0f3e6ca into master Jul 24, 2024
23 checks passed
@kirankumarkolli kirankumarkolli deleted the users/sourabhjain/fixclienttelemetrybug branch July 24, 2024 13:28
@@ -42,7 +42,7 @@ public void CollectCacheInfo(string cacheName, Func<TelemetryInformation> functi
}
catch (Exception ex)
{
DefaultTrace.TraceError($"Error while collecting cache {0} telemetry. Exception : {1}", cacheName, ex);
DefaultTrace.TraceError("Error while collecting cache {0} telemetry. Exception : {1}", cacheName, ex);
Copy link
Contributor

Choose a reason for hiding this comment

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

if there's an overload that takes the ex arg first, that should be used instead (same for others)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Enables automation to merge PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Client Telemetry] - Trace error not recording exception
6 participants