-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Measure session recording attempts #5478
Comments
@yakkomajuri not sure if this something you'd want to pick up or we should figure out in Core Experience? |
Note - I would personally suggest the "alternative" approach since it reflects the users experience better. E.g. you can realistically end up in a situation where the "posthog-js" metric shows 99% and sessions/recordings ratio of e.g. 60%. As for why: see #4884 |
@rcmarron @alexkim205 I think we should revive this and make sure we can measure % of failed recording attempts reliably. |
100% agree @paolodamico I think original approach may be more appropriate now that the UX has changed (although both would be valuable). I just did a bit of digging, and it looks like we add a I'm not very familiar with the The query would probably be too large if we're checking across teams, so I might try to sample it down somehow (maybe just take a subset of teams with recordings enabled). Thoughts? |
I have some revised thoughts here. It's helpful to think about two separate categories of missing recordings:
After learning more about how session recording works, I think the vast majority of our 'missing recording' cases fall into the first category (see #2927, #6482). I'm sure there are cases of the 2nd category, but my guess is that the causes are out of our control (e.g. user with no network, analytics blockers etc.). My proposal is that we focus on the first category. Fix those issues and then evaluate if we think there is more work to be done from there. With that in mind, here is a query that measures the first case: https://metabase.posthog.net/question/167-recordings-w-o-a-full-snapshot-in-past-24hrs @paolodamico Does that work for you? |
That context is helpful @rcmarron. Well I would argue, we're assuming that (2) is small and/or we can't do anything about it, but unless we measure it we have no way of answering this (what if we have a bug in Even for cases like network issues there might be things to try: can we minimize payloads? maybe don't capture images if network is slow?, ... As a side note, it's great that we have that query, we now have a baseline and a solid way of measuring whether we achieved our goal for the sprint. |
Suggestion: Don't target all session recordings. Sessions which immediately bounce or are very short are a lot more low-value than long sessions. Suggested metrics:
|
Really love those conceptual metrics! We have a sync conversation scheduled for tomorrow to discuss and figure out more specifics. For instance, I'd want us to make sure we're holistically tracking any session >30s. |
Closing the loop here. After some discussions, we decided to measure session recordings via 2 metrics:
|
Closing this as part 1 is done and part 2 is captured here: #6704 |
Is your feature request related to a problem?
We know session recording is a bit unreliable today, particularly in certain circumstances which we're unclear on today (e.g. browser versions, network connectivity, types of devices, etc.). To improve this, we need to measure it well.
Describe the solution you'd like
I'd like to be able to effectively measure failed session recordings (and ideally have some context on why they failed). One approach I was discussing with @macobo was to fire a regular PostHog event ("session recording started") whenever we activate session recording in the client. We can later match this event to a successfully completed session recording to get the ratio of success.
Describe alternatives you've considered
Using regular sessions as a proxy. Measure ratio of sessions in projects with enabled session recording that have < 1 recording.
Additional context
Work towards diagnosing causes.
Thank you for your feature request – we love each and every one!
The text was updated successfully, but these errors were encountered: