GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy

Telemetry doesn't work with non-ADC

Ouverte
#2,204 1 commentaire 0 réactions 1 personne assignée Réclamée par @hessjcg Voir sur GitHub
priority: p3 type: bug
Langage dominant
Go
Étoiles
1.4k
Forks
352
Merge moyen
14 h 54 min
PR mergées (30 j)
5

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.