Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pubsub): honor option.WithTelemetryDisabled (#2815)
It seem that the telemetry options added here predate general telemetry handling. There is no need to explicitly enable such options here as it is taken care of grpc.DialPool: https://pkg.go.dev/google.golang.org/api/transport/grpc?#DialPool. The stats handler is only added if option.WithTelemetryDisabled is not passed in. Fixes: #2751
- Loading branch information
Showing
2 changed files
with
1 addition
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters