Files
flipper/static
John Knox a96931c43f Enhance time-spent tracking
Summary:
Previously, at 1-minute intervals, if the flipper window was focused on, it would report the currently active plugin.
We'd sum all those "ping" events and that would approximate the number of full minutes spent in total across all users.
It's quite coarse grained, if you're focused on the window for 30 seconds, there's a 50% change your ping will get used.
While being reasonable across many users, it doesn't allow analysis like how many plugins do people typically use in a session, because we probably won't see all the plugins they use.

New approach, for every minute flipper is open, report the focused and unfocused time spent in each plugin, as well as the total across all plugins.
This should give us the previous data but with much more precision.

Should be especially helpful for plugins with low numbers of users, you typically interact with emulators while using a plugin, so it's not continually in focus, so you miss a lot of usage events.

enhance_bladerunner

Reviewed By: nikoant

Differential Revision: D19392796

fbshipit-source-id: af9244e993edff9b381144ca587c3a77fdf8c98a
2020-01-14 10:27:17 -08:00
..
2018-06-01 11:03:58 +01:00
2018-06-01 11:03:58 +01:00
2018-06-01 11:03:58 +01:00
2019-05-03 12:08:04 -07:00
2018-06-01 11:03:58 +01:00
2018-06-01 11:03:58 +01:00
2018-06-01 11:03:58 +01:00
2020-01-14 10:27:17 -08:00
2019-10-03 07:17:49 -07:00
2019-10-03 07:17:49 -07:00
2020-01-14 10:27:17 -08:00
2018-06-01 11:03:58 +01:00
2019-10-11 13:46:45 -07:00