influxdata / ui

UI for InfluxDB
96 stars 42 forks source link

Growth: revisit collecting usage metrics for user pilot #3152

Open genehynson opened 3 years ago

genehynson commented 3 years ago

We had to turn off feature flag newUsageAPI because it was causing performance issues in the UI. This flag was collecting usage data over the past 30 days and sending it to user pilot. Let's investigate a different method to collect this data that doesn't bog down the browser. Perhaps a direct integration between user-pilot and our backend APIs? Or a custom query that doesn't return a large result?

Where the flag is used in the UI:

Some related PRs related to this:

cc: @mavarius

jzahnd commented 3 years ago

We should probably wait for the ecommerce team to update the me endpoint to query snowflake side for a user status