semantic-conventions/docs/registry/attributes/user.md

1.6 KiB

User

User Attributes

Describes information about the user.

Attribute Type Description Examples Stability
user.email string User email address. a.einstein@example.com Development
user.full_name string User's full name Albert Einstein Development
user.hash string Unique user hash to correlate information for a user in anonymized form. [1] 364fc68eaf4c8acec74a4e52d7d1feaa Development
user.id string Unique identifier of the user. S-1-5-21-202424912787-2692429404-2351956786-1000 Development
user.name string Short name or login/username of the user. a.einstein Development
user.roles string[] Array of user roles at the time of the event. ["admin", "reporting_user"] Development

[1] user.hash: Useful if user.id or user.name contain confidential information and cannot be used.