You can set user details to debug which customer faces performance issues and crashes. The user information send along with errors, traces, analytics and transactions.
Syntax
atatus.set_user(user_id=user.id, username=user.name, email=user.email)
Parameter
Parameter | Type | Description |
---|---|---|
user_id | Number/String (Required) | Id of the user. |
username | String | Name of the user. |
String | Email address of the user. |
Example
copy
import atatus
atatus.set_user('user_00126', 'Daniel Mac', 'daniel.mac@acme.com')
(or)
atatus.set_user(user_id='user_00126', username='Daniel Mac', email='daniel.mac@acme.com')