Skip to content

Commit b80e9b7

Browse files
AbhiPrasadcursoragent
authored andcommitted
Update documentation for uint64 handling in logs (#14039)
ref convos in getsentry/relay#4689 The `attributes` section in `develop-docs/sdk/telemetry/logs.mdx` was updated to clarify handling of 64-bit unsigned integers. * Initially, the text "In the future we will support 64-bit unsigned integers." was replaced with "For 64-bit unsigned integers, use the `string` type to avoid overflow issues." * This change was made to provide immediate guidance based on internal discussions, recommending `string` conversion to prevent data loss or precision issues. * Subsequently, the documentation was further refined to include both the current guidance and the future roadmap. * The line now reads: "For 64-bit unsigned integers, use the `string` type to avoid overflow issues. In the future we will support 64-bit unsigned integers." * This ensures SDK developers and third-party integration authors have clear instructions for current implementation while also being aware of planned native support. --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 0b1f4b0 commit b80e9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

develop-docs/sdk/telemetry/logs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ It consists of the following fields:
8989

9090
: **Object, optional**. A dictionary of key-value pairs of arbitrary data attached to the log. Attributes must also declare the type of the value. The following types are supported: `string`, `boolean`, `integer`, `double`. In the future arrays will be supported (`string[]`, `boolean[]`, `integer[]`, `double[]`).
9191

92-
Integers should be a 64-bit signed integer, while doubles should be a 64-bit floating point number. In the future we will support 64-bit unsigned integers.
92+
Integers should be a 64-bit signed integer, while doubles should be a 64-bit floating point number. For 64-bit unsigned integers, use the `string` type to avoid overflow issues. In the future we will support 64-bit unsigned integers.
9393

9494
Example:
9595

0 commit comments

Comments
 (0)