Closed Bug 1849013 Opened 4 months ago Closed 1 month ago

Add telemetry to track when Search Service fails


(Firefox :: Search, task, P3)




121 Branch
Tracking Status
firefox121 --- fixed


(Reporter: mcheang, Assigned: mcheang)



(Whiteboard: [sng])


(2 files)

I've added a safety net to catch when the search service fails, so the browser can still run in a "safe mode". This "safe mode" means the user can lookup their history and bookmarks from the address bar and the user can click on their top site tiles such as recently visited, sponsored, and other tiles they've added. Previously, when search service failed the address bar and newtab page wasn't interactive tiles were not clickable and results were not shown in address bar.

The only thing the user cannot use when search service fails are search engines - search shortcut tiles on newtab, default search engine, and the search shortcuts in address bar.

Since the infrastructure for this safety net is in place. I'd like to add telemetry to record how often the search service fails and leave that telemetry in for proactive monitoring. If we do see a spike in search service failure, we can quickly see this and be proactive in fixing the issue rather than waiting for a user to file a bug on it.

This bug ticket is about adding telemetry back in for proactive monitoring that can help us catch earlier when search service fails due to a regression. We use to have this telemetry in Bug 1706845 but was previously removed when a spike in search service failure was fixed.

See Bug 1706845

See Also: → 1848380, 1648188, 1835918
Attached file Data Review Request
Attachment #9361087 - Flags: data-review?(chutten)

Comment on attachment 9361087 [details]
Data Review Request

I guess :chutten is busy, adding Jared as a possible alternative data reviewer.

Attachment #9361087 - Flags: data-review?(jhirsch)

Comment on attachment 9361087 [details]
Data Review Request

Sorry for the delay, I've been battling a head cold.


Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?


Is there a control mechanism that allows the user to turn the data collection on and off?

Yes. This collection can be controlled through Firefox's Preferences.

If the request is for permanent data collection, is there someone who will monitor the data over time?

Yes, mcheang and are responsible.

Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 1, Technical.

Is the data collection request for default-on or default-off?

Default on for all channels.

Does the instrumentation include the addition of any new identifiers?


Is the data collection covered by the existing Firefox privacy notice?


Does the data collection use a third-party collection tool?


Result: datareview+

Attachment #9361087 - Flags: data-review?(jhirsch)
Attachment #9361087 - Flags: data-review?(chutten)
Attachment #9361087 - Flags: data-review+
Pushed by
Add telemetry to track when search service initialization fails. r=Standard8
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.