diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-03-04 16:39:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 16:39:27 +0000 |
commit | df425c2c63d969778f725c9053dd93e57ee854e1 (patch) | |
tree | 7d9970706cfc2787265fbc597dd06266eba25d16 /synapse/handlers/sso.py | |
parent | Record the SSO Auth Provider in the login token (#9510) (diff) | |
download | synapse-df425c2c63d969778f725c9053dd93e57ee854e1.tar.xz |
Prometheus metrics for logins and registrations (#9511)
Add prom metrics for number of users successfully registering and logging in, by SSO provider.
Diffstat (limited to 'synapse/handlers/sso.py')
-rw-r--r-- | synapse/handlers/sso.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/sso.py b/synapse/handlers/sso.py index 8a22dab54a..6ef459acff 100644 --- a/synapse/handlers/sso.py +++ b/synapse/handlers/sso.py @@ -606,6 +606,7 @@ class SsoHandler: default_display_name=attributes.display_name, bind_emails=attributes.emails, user_agent_ips=[(user_agent, ip_address)], + auth_provider_id=auth_provider_id, ) await self._store.record_user_external_id( |