hypertrace / hypertrace-ui

UI for Hypertrace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for adding web analytics tracker eg: Google analytics

subintp opened this issue · comments

Use Case

We would like to track the following metrics for Hypertrace to improve the evangelism

  1. Weekly active users
  2. Weekly activity on services

Tracking the above metrics will help us to understand which team is adopting the platform and plan the evangelism activities accordingly

Proposal

We would like to connect Hypertrace with analytics tracking tools like google analytics, heap, or amplitude. Tracking for these tools can be enabled by a generic way of injecting javascript on every page load. All the activities on the page will be tracked by javascript. Suggesting two ways to inject the javascript

  1. Via Admin UI - Expose an admin to UI with CRUD operations to add javascript code and this code will be stored in the config store. On every page load, the UI loads this javascript code graphql api
  2. Hardcoding via config values - Configure the javascript code as a config and inject into UI on every page load.

@anandtiwary Can we close this one too?

Yes. This is done. I will add a detailed step for enabling/configuring telemetry provider for Hypertrace.

cc @subintp @jyothishjose6190 @jaywalker21