mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-05 12:44:27 -04:00
Prometheus metrics for logins and registrations (#9511)
Add prom metrics for number of users successfully registering and logging in, by SSO provider.
This commit is contained in:
parent
7eb6e39a8f
commit
df425c2c63
4 changed files with 43 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue