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
pgwire,provisioning: align JWT auth logging and telemetry with LDAP
Previously, the JWT authentication flow lacked specific telemetry
counters for its provisioning process and had less verbose logging
compared to the LDAP authentication flow.
This was inadequate because it created an observability gap, making it
harder to monitor and debug JWT-specific authentication and
provisioning steps compared to the more mature LDAP implementation.
To address this, this patch introduces JWT-specific telemetry counters
for provisioning (`begin`, `success`, `enable`) and adds more detailed
logging messages at each stage of the `authJwtToken` flow
(provisioning, authentication, and authorization). The new logs and
metrics are modeled directly after the existing implementation for
LDAP, ensuring a consistent operational experience for both enterprise
authentication methods.
Release note: None
0 commit comments