Closed Bug 1710838 Opened 3 years ago Closed 3 years ago

Define the scheduling for and implement the metrics ping

Categories

(Data Platform and Tools Graveyard :: Glean.js, task, P1)

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: brizental, Assigned: Dexter)

Details

(Whiteboard: [telemetry:glean-js:m2])

No description provided.
Whiteboard: [telemetry:glean-js:m?] → [telemetry:glean-js:backlog]
Whiteboard: [telemetry:glean-js:backlog] → [telemetry:glean-js:m2]
Assignee: nobody → alessio.placitelli
Priority: P4 → P1

The Glean Javascript SDK currently targets 3 environments: websites, browser web-extensions and Node.js (as reported by our docs).

Products built in each one of the above environments may have a radically different behaviour than the one the 'metrics' ping scheduling was designed in:

  • website browsing sessions are usually short-lived, and may be suspended by the browser (and so the 'send a ping at 4am' would not really work);
  • web-extensions lifetime is radically different than a website, and pretty much depends on its purpose: a web-extension can be a simple URL filter or a much more complex stand-alone experience (e.g. Rally) (and so how the proper daily 'measurement window' that captures a "daily session" would have been hard to compute);
  • Node.js products can be more akin to servers/cli products, for which we never had a good story to begin with (we had prior discussions with respect to the Glean Python SDK and deemed that the 'metrics' ping would not be a good fit for that SDK).

For the above reasons, I believe we should not implement a 'metrics' ping (and its related scheduling) for the Glean Javascript SDK, unless we have an initial solid use-case which allows us to think through what the correct measurement window would be.

Until then, I reccommend closing this bug as WONTFIX.

Flags: needinfo?(brizental)

Agreed.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(brizental)
Resolution: --- → WONTFIX
Product: Data Platform and Tools → Data Platform and Tools Graveyard
You need to log in before you can comment on or make changes to this bug.