feat(transport/all): Add ability to specify []otelhttp.Opts for transport when create new HTTP client
See https://github.com/googleapis/google-api-go-client/issues/3138
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
@surik Can you please open a feature request issue in this repo explaining your need for otelhttp.Option in the HTTP Client? Thank you.
Hi @quartzmo, I've opened a request https://github.com/googleapis/google-api-go-client/issues/3138
Kokoro CI failed with staticcheck:
internal/settings.go:193:64: type assertion to the same type: o already has type otelgrpc.Option (S1040)
We are going to hold off on this PR for now as our team is investigating some cross language support for open telemetry yet this year. For the sake of consistency I don't want to add new options yet. We will make sure to bring up this user journey as we thoughtfully design this integration.