You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
google-auth: add x-goog-api-client metric headers across async before_request implementations #19281
Unlike the synchronous google.auth.credentials.Credentials.before_request, which calls metrics.add_metric_header(headers, self._metric_header_for_usage()) before applying credentials, the native async credential before_request implementations do not emit x-goog-api-client credential-type metric headers:
Wire up metrics.add_metric_header(headers, ...) consistently across the async before_request paths so async credentials report credential-type telemetry (such as cred-type/u, cred-type/sa, and cred-type/jwt) matching their synchronous counterparts.
Activity