GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy

Telemetry doesn't work with non-ADC

Aperta
#2,204 1 commento 0 reazioni 1 assegnatario Rivendicata da @hessjcg Vedi su GitHub
priority: p3 type: bug
Lingua principale
Go
Stelle
1.4k
Fork
352
Merge medio
14h 54m
PR unite (30g)
5

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.