Skip to content

Commit be7790b

Browse files
committed
Added log size info to the limits page
1 parent feb4fcd commit be7790b

File tree

1 file changed

+42
-8
lines changed

1 file changed

+42
-8
lines changed

docs/limits.mdx

Lines changed: 42 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@ The number of queued tasks by environment.
3535
| Staging | At most 10 million |
3636
| Prod | At most 10 million |
3737

38-
## Log retention
39-
40-
| Pricing tier | Limit |
41-
|:---------------- |:--------- |
42-
| Free | 1 day |
43-
| Hobby | 7 days |
44-
| Pro | 30 days |
45-
4638
## Schedules
4739

4840
| Pricing tier | Limit |
@@ -59,6 +51,48 @@ If you're creating schedules for your user you will definitely need to request m
5951

6052
<SoftLimit />
6153

54+
## Log retention
55+
56+
| Pricing tier | Limit |
57+
|:---------------- |:--------- |
58+
| Free | 1 day |
59+
| Hobby | 7 days |
60+
| Pro | 30 days |
61+
62+
## Log size
63+
64+
We limit the size of logs to prevent oversized data potentially causing issues.
65+
66+
<Expandable title="log limits">
67+
68+
#### Attribute Limits
69+
- Span Attribute Count Limit: 256
70+
- Log Attribute Count Limit: 256
71+
- Span Attribute Value Length Limit: 1028 characters
72+
- Log Attribute Value Length Limit: 1028 characters
73+
74+
#### Event and Link Limits
75+
- Span Event Count Limit: 10
76+
- Link Count Limit: 2
77+
- Attributes per Link Limit: 10
78+
- Attributes per Event Limit: 10
79+
80+
#### I/O Packet Length Limit
81+
128 KB (131,072 bytes)
82+
83+
#### Attribute Clipping Behavior
84+
- Attributes exceeding the value length limit (1028 characters) are discarded.
85+
- If the total number of attributes exceeds 256, additional attributes are not included.
86+
87+
#### Attribute Value Size Calculation
88+
- Strings: Actual length of the string
89+
- Numbers: 8 bytes
90+
- Booleans: 4 bytes
91+
- Arrays: Sum of the sizes of all elements
92+
- Undefined or null: 0 bytes
93+
94+
</Expandable>
95+
6296
## Task payloads and outputs
6397

6498
| Limit | Details |

0 commit comments

Comments
 (0)