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

Add failover & load balancing telemetry #586

Merged
merged 14 commits into from
Aug 20, 2024

Conversation

zhiyuanliang-ms
Copy link
Contributor

@zhiyuanliang-ms zhiyuanliang-ms commented Jul 26, 2024

Why this PR?

#583

We want to know these things.

  1. How many configuration stores have load balancing enabled
  2. How many application startups were saved by failing over
  3. How many refresh operations were saved by failing over

Replica auto discovery is enabled by default. So we don't track it.

The request type (startup/refresh) is already added to the request tracing. So as long as we add tag for the request if it is a failover request, we can tell whether it saved startup or refresh operation.

Visible change

Correlation context will have two more tags: UsesLoadBalancing and FailoverRequest

@zhiyuanliang-ms zhiyuanliang-ms changed the title Add failover telemetry Add failover & load balancing telemetry Aug 5, 2024
@RichardChen820
Copy link
Contributor

LGTM

@zhiyuanliang-ms zhiyuanliang-ms merged commit d551536 into preview Aug 20, 2024
3 checks passed
@zhiyuanliang-ms zhiyuanliang-ms deleted the zhiyuanliang/failover-telemetry branch August 20, 2024 06:41
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.

6 participants