Closed Bug 1331059 Opened 7 years ago Closed 7 years ago

android_events should record full session information

Categories

(Cloud Services Graveyard :: Metrics: Pipeline, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: frank, Assigned: frank)

References

Details

User Story

Currently android_events only records "firstrun", "awesomescreen", or "reader" in sessions. We should store the full session information instead.
      No description provided.
A few questions:

1. If sessions begins with "experiments", do we want to store that as an experiment or as a session?
2. Do we want to pre-process sessions, into (session, version, suffix)?
Flags: needinfo?(gkruglov)
Blocks: 1330179
Flags: needinfo?(gkruglov)
Didn't mean to reset needinfo; I'll update soon. Thanks for filing this, Frank.
Flags: needinfo?(gkruglov)
(In reply to Frank Bertsch [:frank] from comment #1)
> A few questions:
> 
> 1. If sessions begins with "experiments", do we want to store that as an
> experiment or as a session?

Let's keep them as experiments and not change the current processing here.

We have queries depending on this pattern, and overall it seems useful to keep experiments separate from sessions, even though they both define a "scope" of an event and _could_ be the same thing.

Another option is to do both - keep the session name intact here, but also parse out the experiment name. Other than consistency, this wins us nothing, though. The current way might not be 100% consistent with how sessions should behave, however, we've already "hijacked" this particular special session at some point in the past, and this approach works well enough. I'll file a bug to document the current behaviour on the client side.

> 2. Do we want to pre-process sessions, into (session, version, suffix)?

While this doesn't seem strictly necessary for now, I think it would help speed up queries if we find ourselves often querying for these subcomponents separately. Since session processing is the way it is currently, none of the existing queries will benefit from this at the moment, but that might change going forward. Let's keep an eye out for this as a low hanging perf improvement?
Flags: needinfo?(gkruglov)
See Also: → 1331091
Frank, do you have a rough timeline for when this might get fixed? It'll be good to construct our A-S dashboard queries with correct filters :-)
Flags: needinfo?(fbertsch)
(In reply to :Grisha Kruglov from comment #5)
> Frank, do you have a rough timeline for when this might get fixed? It'll be
> good to construct our A-S dashboard queries with correct filters :-)

Grisha, I can put this on the front of the priority queue if it's blocking efforts on your end.
Flags: needinfo?(fbertsch)
I can work on this Monday 1/23 if so.
Assignee: nobody → fbertsch
(In reply to Frank Bertsch [:frank] from comment #7)
> I can work on this Monday 1/23 if so.

That's great, thank you Frank!
Okay, this has been merged. I'm going to keep this open until the first successful run - next run will begin on 2017-01-27 at 00:00 UTC.
Looks like this worked as expected. See [0] for an example that shows some of the new sessions. Closing as complete.

[0] https://sql.telemetry.mozilla.org/queries/2423/source
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.