Skip to content
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

Better granularity for edit events #14

Open
dkwon17 opened this issue Jun 13, 2022 · 0 comments
Open

Better granularity for edit events #14

dkwon17 opened this issue Jun 13, 2022 · 0 comments

Comments

@dkwon17
Copy link
Collaborator

dkwon17 commented Jun 13, 2022

In both of these scenarios:

  1. User edits a java file for 10 minutes
  2. User edits a java file for 1 minute, gets coffee for 8 minutes, comes back and edits a java file for 1 minute

there is only one edit workspace in che event sent to Woopra, even though the user in scenario 1 edits their Java file for a longer period of time compared to scenario 2.

Only one event is sent to Woopra in both situations because currently the telemetry plugin prevents two events with the same properties from being sent back to back:

For better granularity, it would make sense for scenario 1 to cause more edit workspace in che events than scenario 2.

Some possible solutions are:

  1. remove the if statement above to allow back to back edit events editing a file of the same language (ie Java, Python etc.)
  2. remove the if statement above and increase/decrease the debounce time to adjust how often edit events are sent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant