Open Bug 2077153 Opened 1 month ago

Build a derived table with one row per flow instance

Categories

(Data Platform and Tools :: Glean: SDK, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: travis_, Unassigned)

References

(Depends on 1 open bug)

Details

A table with one row per flow instance, built from tagged events and glean.flow_end. Depends on the pilot bug 2077152 and should not be built until the pilot has checked the data. All the inputs are already in the events tables, so the table can be backfilled to the start of the pilot.

Suggested columns: application, flow_name, instance ID, session_id, flow_seq, first and last tagged event timestamps, entry event, reason, terminating_event, and count of tagged events.

  • Instance ID is one column, session.id and flow_seq joined, so analyses don't each build it.
  • flow_seq is a string in flow_end extras and an integer in flows entries. Make it an integer in this table so joins don't each need a cast.
  • Compute duration from the first and last tagged events, not from the flow_end timestamp. flow_end for timeout and session_end is timestamped when the SDK noticed, which can be much later.
You need to log in before you can comment on or make changes to this bug.