Closed Bug 1911639 Opened 1 year ago Closed 1 year ago

Suggest Metrics (JS side)

Categories

(Firefox :: Address Bar, enhancement, P3)

Firefox 133
enhancement

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: bdk, Assigned: bdk)

References

(Blocks 1 open bug)

Details

(Whiteboard: [disco-])

Attachments

(1 file)

Split off from https://bugzilla.mozilla.org/show_bug.cgi?id=1901779

Adding metrics is complicated by the fact that we can't call Glean directly, but need to forward the calls through our consumers. However, for queries it's not so hard. We can return a metrics struct alongside the query results, like how SyncManager returns them as part of SyncResult.

This issue is for taking the metrics that Rust returns in https://bugzilla.mozilla.org/show_bug.cgi?id=1911638 and recording them with Glean on the JS side.

Query metrics:

  • Total query time
  • Query time for each individual provider
  • To keep things backwards-compatible, let's use a new method name like query_with_metrics.

Ingest metrics:

  • time to download data (total and also per-provider)
  • time to update the database (total and also per-provider)
Depends on: 1911638
No longer depends on: 1908397
Summary: Suggest Metrics (the easy part) → Suggest Metrics (JS side)
Depends on: 1913218

This might belong better in Firefox :: Address Bar.

Severity: -- → N/A
Priority: -- → P3
Component: Suggest → Address Bar
Product: Application Services → Firefox
Target Milestone: --- → 133 Branch
Version: unspecified → Firefox 133
Assignee: nobody → bdeankawamura
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: