Skip to content

feat: Set sampledToLocalTracing flag to true for all gRPC MethodDescriptors #3874

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

lqiu96
Copy link
Member

@lqiu96 lqiu96 commented Jul 31, 2025

See b/416626151 for more information.

Problem: When the flag is set to false, the method traces are grouped under a single, generic other attribute. This may be confusing to customers who see all their unique methods grouped together.

High Level: This flag enables captures for specific method names to help provide more detailed metrics. We do not expect any noticable performance impact from this change.

@lqiu96 lqiu96 requested review from zhumin8 and blakeli0 July 31, 2025 18:02
@product-auto-label product-auto-label bot added size: l Pull request size is large. samples Issues that are directly related to samples. labels Jul 31, 2025
Copy link

Copy link

Quality Gate Failed Quality Gate failed for 'java_showcase_integration_tests'

Failed conditions
48.8% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@lqiu96 lqiu96 changed the title feat: Default sampledLocalTracing flag to true by for gRPC MethodDescriptors feat: Default sampledLocalTracing flag to true for all gRPC MethodDescriptors Jul 31, 2025
@lqiu96
Copy link
Member Author

lqiu96 commented Jul 31, 2025

Looks like sonatype is complaining about inadequate coverage for the generated showcase files. This should be a non-issue.

@lqiu96 lqiu96 marked this pull request as ready for review July 31, 2025 18:56
@lqiu96 lqiu96 changed the title feat: Default sampledLocalTracing flag to true for all gRPC MethodDescriptors feat: Set sampledLocalTracing flag to true for all gRPC MethodDescriptors Jul 31, 2025
@lqiu96 lqiu96 changed the title feat: Set sampledLocalTracing flag to true for all gRPC MethodDescriptors feat: Set sampledToLocalTracing flag to true for all gRPC MethodDescriptors Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant