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 UI telemetry tracking to AS in Kibana #5

Merged
merged 4 commits into from
Apr 28, 2020

Commits on Apr 28, 2020

  1. Set up Telemetry usageCollection, savedObjects, route, & shared helper

    - The Kibana UsageCollection plugin handles collecting our telemetry UI data (views, clicks, errors, etc.) and pushing it to elastic's telemetry servers
    - That data is stored in incremented in Kibana's savedObjects lib/plugin (as well as mapped)
    - When an end-user hits a certain view or action, the shared helper will ping the app search telemetry route which increments the savedObject store
    cee-chen committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    5e58251 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    757fe71 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    020ab86 View commit details
    Browse the repository at this point in the history
  4. Fix failing renderApp test

    - by switching sendTelemetry to async/await syntax instead of promise-based syntax
    - since the code was expecting Promise back but the http test mock was sending a generic jest.fn
    
    + update sendTelemetry tests to use httpServiceMock, now that we're no longer requiring returned promises
    cee-chen committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    cb9708f View commit details
    Browse the repository at this point in the history