Open Bug 1908397 Opened 1 year ago Updated 1 year ago

Suggest Metrics (Rust side)

Categories

(Application Services :: Suggest, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: bdk, Unassigned)

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 defining metrics in components/suggest/metrics.yaml that we want to track and returning those metrics from our API calls. Out of scope is actually recording those metrics, since that has to happen in the consumer code.

Query metrics:

  • Total query time
  • Query time for each individual provider

Ingest metrics:

  • time to download data (total and also per-provider)
  • time to update the database (total and also per-provider)
Blocks: 1901779
No longer depends on: 1901779, 1908396
Whiteboard: [disco-]
Severity: -- → N/A
Priority: -- → P3
Summary: Suggest Query Metrics → Suggest Metrics (the easy part)
Duplicate of this bug: 1908396
Blocks: 1911638
Blocks: 1911639
No longer blocks: 1911639
Summary: Suggest Metrics (the easy part) → Suggest Metrics (metrics.yaml)
Summary: Suggest Metrics (metrics.yaml) → Suggest Metrics (Rust side)
Blocks: 1911664
Duplicate of this bug: 1911638
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: