Adding some baseline analytics metrics #11355
Draft
+643
−23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a prototype/example for the baseline metrics project (https://linear.app/rerun/project/implement-baseline-usage-and-behavior-metrics-1e7a95fd0552).
I've implemented a few things here:
file_open
,ui_click
,auto
,hotkey
eventually)The playback_session is not entirely functional, nor do the numbers entirely make sense. But it gets at the right idea.
Here's an example of the new types:

Open Recording
Switch Recording

Playback Session

The numbers don't entirely make sense in Playback Session, especially with frames, so I need to do another round of thinking on this before it can be viable.
Again, this is meant to be a prototype, or just an example, of what implementing these few metrics could look like. Hopefully it's helpful!