Don't upload pings bigger than 1MB
Categories
(Data Platform and Tools :: Glean: SDK, enhancement, P1)
Tracking
(Not tracked)
People
(Reporter: Dexter, Assigned: brizental)
References
Details
(Whiteboard: [telemetry:glean-rs:m16] )
Attachments
(2 files, 2 obsolete files)
42 bytes,
text/x-github-pull-request
|
Details | Review | |
3.08 KB,
text/plain
|
chutten
:
data-review+
|
Details |
As we do on Desktop, we need to add an upper bound to the maximum size of a ping that can be uploaded.
We can use the same boundary as Desktop: 1 MB.
Anything > 1MB should be discarded and we should record & report an error.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
Note: Mike put together a query that shows that the maximum we currently hit is 69kb.
Reporter | ||
Comment 2•6 years ago
|
||
Let's wait for now, since we know all the pings we're sending and never got anything near that limit.
Assignee | ||
Comment 3•6 years ago
|
||
Adding this one to the milestone I am creating about ping uploading logic in glean-core.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
For clarification: the desktop 1MB limit is on the compressed ping size, not uncompressed. So pings > 1MB who compress < 1MB may be sent.
Not sure if Glean SDK wishes to adopt that approach as well.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
Comment 8•5 years ago
|
||
Comment 9•5 years ago
|
||
Assignee | ||
Comment 10•5 years ago
|
||
I also removed the counter metric described in the previous data-reviews, as discussed in the PR.
Comment 11•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Description
•