Skip to content

Commit 2412b50

Browse files
authored
fix(logs): Clarify user attributes example (#15963)
1 parent ac3064a commit 2412b50

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

develop-docs/sdk/telemetry/logs.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,11 @@ SDKs may optionally attach user information as attributes (guarded by `sendDefau
326326

327327
```json
328328
{
329-
"user.id": "123",
330-
"user.name": "john.doe",
331-
"user.email": "john.doe@example.com"
329+
"attributes": {
330+
"user.id": { "value": "123", "type": "string" }
331+
"user.name": { "value": "john.doe", "type": "string" }
332+
"user.email": { "value": "john.doe@example.com", "type": "string" }
333+
}
332334
}
333335
```
334336

0 commit comments

Comments
 (0)