Skip to content

feat(gax): enable telemetry tracing via client options without internalTelemetryInfo - #9476

Draft
shivanee-p wants to merge 1 commit into
mainfrom
shivaneep-o11y-customer-gating
Draft

shivanee-p wants to merge 1 commit into
mainfrom
shivaneep-o11y-customer-gating

Conversation

@shivanee-p

Copy link
Copy Markdown
Contributor

Updates checkTelemetryEnabled to allow enabling telemetry tracing via client settings (enableTelemetryTracing or otherArgs.enableTelemetryTracing) without requiring compile-time internalTelemetryInfo metadata.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request simplifies the telemetry tracing enablement check in core/packages/gax/src/util.ts by removing the requirement for internalTelemetryInfo to be defined. Now, checkTelemetryEnabled only checks if enableTelemetryTracing is set on the settings or other arguments. The JSDoc comments and unit tests have been updated accordingly to reflect this change. There are no review comments to address.

This branch has not been deployed

No deployments
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.

1 participant