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

Telemetry: Fixes Trace error when not using Azure VMs #3227

Merged
merged 9 commits into from
May 31, 2022

Conversation

imanvt
Copy link
Contributor

@imanvt imanvt commented May 27, 2022

Pull Request Template

Description

When a client is initialized without using an Azure VM, an exception is logged that causes confusion for the user. This PR fixes that by logging an informational message instead. It also refactors the use of ContinueWith with await/async in the relevant method.

Type of change

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

Closing issues

closes #3220

@imanvt imanvt linked an issue May 27, 2022 that may be closed by this pull request
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Please follow the required format: "[Internal] Category: (Adds|Fixes|Refactors|Removes) Description"

Internal should be used for PRs that have no customer impact. This flag is used to help generate the changelog to know which PRs should be included. Examples:
Diagnostics: Adds GetElapsedClientLatency to CosmosDiagnostics
PartitionKey: Fixes null reference when using default(PartitionKey)
[v4] Client Encryption: Refactors code to external project
[Internal] Query: Adds code generator for CosmosNumbers for easy additions in the future.

@imanvt imanvt changed the title Users/imanvt/client telemetry azure vm exception Telemetry: Fixes Client Initialization Error when not using Azure VMs May 27, 2022
@imanvt imanvt marked this pull request as ready for review May 27, 2022 21:45
@ealsur ealsur changed the title Telemetry: Fixes Client Initialization Error when not using Azure VMs Telemetry: Fixes Trace error when not using Azure VMs May 27, 2022
ealsur
ealsur previously approved these changes May 27, 2022
@ealsur ealsur enabled auto-merge (squash) May 31, 2022 14:25
@ealsur ealsur merged commit 1d0fdfd into master May 31, 2022
@ealsur ealsur deleted the users/imanvt/client-telemetry-azure-vm-exception branch May 31, 2022 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Client Telemetry: Initialization of Azure VM information
3 participants