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

[Discover] User interactions telemetry for Discover #58747

Closed
rayafratkina opened this issue Feb 27, 2020 · 6 comments
Closed

[Discover] User interactions telemetry for Discover #58747

rayafratkina opened this issue Feb 27, 2020 · 6 comments
Assignees
Labels
Feature:Discover Discover Application Feature:Telemetry Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@rayafratkina
Copy link
Contributor

Describe the feature:
In order to understand and improve Discover after rolling out the new EUI Data grid component, it will be helpful to see what actions user takes in the UI and what problems they encounter. Ideally, we should be able to connect individual actions performed within the same session.

Prior art: #46599

Describe a specific use case for the feature:

  1. Overall
  • User navigates to Discover
  • User toggles the new UI switch on/off
  • User adds a filter
  • User changes time range
  • User saves a searc
  • User selects a saved search
  1. Field list
  • User looks at field information (value distribution)
  • User adds a field
  • User removes a field
  • User clicks "visualize"
  • User searches available fields
  • User filters by type
  • User adds a filter from the select field
  1. Histogram
  • User changes granularity
  • User uses brush tool to select part of the time range
  1. Table
  • User expands a row
  • User views json/table of expanded document
  • User views surrounding documents
  • User sorts by a column
  • User removes a column
@rayafratkina rayafratkina added Feature:Discover Discover Application Feature:Telemetry Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 27, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@majagrubic
Copy link
Contributor

Could we get a shortened, prioritized version of the telemetry data @AlonaNadler ?

@AlonaNadler
Copy link

The questions im mostly interested to answer:

  • What's the ratio between using data grid vs default log view - not sure what the best way to calculate it, especially since not all times users are saving it to a saved search.

  • what users use more filters or search bar - maybe calculate the number of times a query is submitted from search bar vs filter is added

  • count the number of times Visualize is clicked from the field list

@majagrubic
Copy link
Contributor

The metrics have been added. We will add the actual metric to track how many times users have switched from the new EUIDataGrid to the legacy table once the PR is merged to master, no to pollute master with the metrics for the code that doesn't yet exist.

@majagrubic
Copy link
Contributor

majagrubic commented Nov 24, 2020

Sorry if it wasn't clear from the previous comment. The following metrics have been added:

  • interaction with the filter / query bar, or more specifically:
    query_submitted: when a query is submitted from a search bar
    filter_added: when a filter is added from a filter bar
    filter_edited: when a filter is edited
    filter_invertInclusion: when filter results are included/excluded
    filter_toggleAllDisabled: when a filter is enabled/disabled
  • discover:filter_added: adding filter from the document table
  • discover:visualize_link_click: clicking Visualize button from the Discover field

Additionally, we have added support for tracking metrics in the Advanced Settings. We plan to leverage this to emit a metric for switching from EuiDataGrid to the legacy table, but the actual metric will be implemented once the EuiDataGrid PR is merged to master.

@timroes
Copy link
Contributor

timroes commented Dec 3, 2020

Closing this as the most requested metrics have been implemented and we currently don't plan on adding more unless required.

@timroes timroes closed this as completed Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Discover Discover Application Feature:Telemetry Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

5 participants