cloud-sql-proxy
cloud-sql-proxy copied to clipboard
Telemetry doesn't work with non-ADC
If I launch the Proxy with an OAuth2 token or a credentials file while using Telemetry, the Proxy fails to start.
The reason for this is stackdriver does requires that we set non-ADC in the stackdriver.Options struct:
https://github.com/GoogleCloudPlatform/cloud-sql-proxy/blob/3f9e2de1633843f010ad2227dfdc92dda189208f/cmd/root.go#L972-L975
In addition, the Proxy should love the error as we've disabled error reporting after parsing the config.
Still a bug, will look into it someday.