Skip to content

feat: [Internal] client-side metrics for afe latency and connectivity error #3819

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

Merged
merged 7 commits into from
Apr 23, 2025

Conversation

rahul2393
Copy link
Contributor

No description provided.

@rahul2393 rahul2393 requested review from a team as code owners April 14, 2025 05:17
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: spanner Issues related to the googleapis/java-spanner API. labels Apr 14, 2025
@rahul2393 rahul2393 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 14, 2025
@surbhigarg92 surbhigarg92 force-pushed the revert-3818-revert-3724-afe_metric branch from b3df6dc to e3e05fb Compare April 15, 2025 17:41
@rahul2393 rahul2393 closed this Apr 21, 2025
@rahul2393 rahul2393 reopened this Apr 22, 2025
@surbhigarg92 surbhigarg92 force-pushed the revert-3818-revert-3724-afe_metric branch from 12f1a4b to 0bf8f4c Compare April 22, 2025 06:04
@surbhigarg92 surbhigarg92 force-pushed the revert-3818-revert-3724-afe_metric branch 2 times, most recently from 2577419 to ac53806 Compare April 22, 2025 09:57
@surbhigarg92 surbhigarg92 force-pushed the revert-3818-revert-3724-afe_metric branch from ac53806 to 128d325 Compare April 22, 2025 10:05
@surbhigarg92 surbhigarg92 changed the title feat: built in metrics for afe latency and connectivity error feat: [Internal] client-side metrics for afe latency and connectivity error Apr 23, 2025
@surbhigarg92 surbhigarg92 removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 23, 2025
@@ -689,6 +689,10 @@ private static boolean isEmulatorEnabled(SpannerOptions options, String emulator
&& options.getHost().endsWith(emulatorHost);
}

public static boolean isEnableAFEServerTiming() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: why are we not using SpannerOptions?

Copy link
Contributor

Choose a reason for hiding this comment

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

This feature can only be disabled using ENV .

@surbhigarg92 surbhigarg92 merged commit a8dba0a into main Apr 23, 2025
48 of 49 checks passed
@surbhigarg92 surbhigarg92 deleted the revert-3818-revert-3724-afe_metric branch April 23, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants