Closed
Bug 1271380
Opened 9 years ago
Closed 9 years ago
Report search counts in core ping
Categories
(Firefox for iOS :: Telemetry, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bnicholson, Assigned: bnicholson)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
| Assignee | ||
Comment 1•9 years ago
|
||
When creating the core ping, we immediately reset the search data that we're reporting. That means if we create the ping but the ping isn't successful, we'll drop the data. That's why the network connectivity check was added to the PR: it increases the likelihood that the ping will succeed.
Unless we want to take the time to implement a telemetry fault-handling layer that stores and resends unique pings, I think this is the best we can do. The other option would be to reset the count only after receiving an HTTP 200, where we'd instead be sending potentially duplicate pings instead of dropping them. I agree with mcomella's comment [1] that missing data is better than bad data.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1271378#c4
Attachment #8755217 -
Flags: review?(sarentz)
Attachment #8755217 -
Flags: review?(michael.l.comella)
Comment on attachment 8755217 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1843
Seems reasonable to me with my comments taken into account.
Attachment #8755217 -
Flags: review?(michael.l.comella) → review+
Comment 3•9 years ago
|
||
Comment on attachment 8755217 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1843
Looks good. I like the two new classes to organize this functionality.
Attachment #8755217 -
Flags: review?(sarentz) → review+
| Assignee | ||
Comment 4•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-fxios-v5.0:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•