Skip to content

Commit 1abd3e5

Browse files
authored
Document optional user attributes for SDKs (#15833)
1 parent 6189169 commit 1abd3e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

develop-docs/sdk/telemetry/logs.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,8 @@ Logs can be generated in three ways:
318318

319319
#### User Attributes
320320

321+
SDKs may optionally attach user information as attributes (guarded by `sendDefaultPii`):
322+
321323
1. `user.id`: The user ID. Maps to `id` in the [User](/sdk/data-model/event-payloads/user/) payload.
322324
2. `user.name`: The username. Maps to `username` in the [User](/sdk/data-model/event-payloads/user/) payload.
323325
3. `user.email`: The email address. Maps to `email` in the [User](/sdk/data-model/event-payloads/user/) payload.

0 commit comments

Comments
 (0)