otel_google_sign_in 0.1.0
otel_google_sign_in: ^0.1.0 copied to clipboard
OpenTelemetry instrumentation for package:google_sign_in. Traces Google Sign-In auth flows with auth spans and enduser.id.
Changelog #
0.1.0 - 2026-08-10 #
Added #
- Extension methods on
GoogleSignIn(v7 API):tracedInitialize,tracedAuthenticate,tracedAttemptLightweightAuthentication,tracedSignOut,tracedDisconnect. Each opens a CLIENT span namedgoogle_sign_in <op>withauth.system=google_sign_in,auth.operation,auth.provider=google.com. - On successful authentication, the resulting account ID is attached
as
enduser.id(opt-out viarecordUserId: false). GoogleSignInSemantics— typed attribute keys (noauth.*namespace exists in the semconv registry yet).tracedGoogleSignInCall<R>— generic helper.- Zone-scoped suppression
(
runWithoutGoogleSignInInstrumentation/ async variant).
Changed #
google_sign_infloor raised to^7.0.0; the traced surface follows the v7 singleton API (GoogleSignIn.instance,authenticate/attemptLightweightAuthenticationreplace the removed v6signIn/signInSilently).