Skip to content

Emit metrics for SSO logins

We should increment a Prometheus counter for each OIDC authentication callback, with labels based on the provider name and on whether activating the identity was successful.

Once that's in place, we should have a graph of this counter on metrics.freexian.com for Freexian's instances.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information