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

Add initial feature tracking #350

Merged
merged 5 commits into from
Apr 9, 2023
Merged

Conversation

alyssabull
Copy link
Contributor

@alyssabull alyssabull commented Apr 4, 2023

What happened:

The goal of this task is to add feature tracking to CH so we can get more information on how much certain features are used. This PR adds initial tracking for the type of queries (SQL vs Builder) and if a builder query is used what format is selected (Table, Aggregate or Time Series). With this information we can determine what how much certain features are used. If they are not, we can remove them from the code base, if they are we can improve its UX so they are easier to use.

This is the list of things we can track so far:

Query editor:
Format: I assume a big percentage of queries will use the "Table" format, since it is the default. We will track how many builder queries use "Table", "Aggregate" or "Time Series".
Builder vs SQL editor: How much is the raw (SQL) editor used?

Closes #339

@alyssabull alyssabull self-assigned this Apr 4, 2023
@alyssabull alyssabull requested a review from a team as a code owner April 4, 2023 13:34
@alyssabull alyssabull added the enhancement New feature or request label Apr 4, 2023
@alyssabull alyssabull requested a review from bossinc April 4, 2023 14:14
aangelisc
aangelisc previously approved these changes Apr 4, 2023
Copy link
Contributor

@aangelisc aangelisc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @alyssabull, thank you for adding this!

Copy link
Contributor

@asimpson asimpson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely tests, nice work! 👏

@alyssabull alyssabull merged commit c7a05a5 into main Apr 9, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add initial support for feature tracking
3 participants