cloud-sql-proxy icon indicating copy to clipboard operation
cloud-sql-proxy copied to clipboard

Telemetry doesn't work with non-ADC

Open enocom opened this issue 2 years ago • 1 comments

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.

enocom avatar Apr 23 '24 18:04 enocom

Still a bug, will look into it someday.

hessjcg avatar Mar 11 '25 20:03 hessjcg