getsentry / sentry-toolbar

MIT License
5 stars 0 forks source link

[DevToolbar] Analytics for which orgs have the toolbar enabled #33

Open ryan953 opened 3 weeks ago

ryan953 commented 3 weeks ago

I would like to have metrics/analytics on the server side to show what endpoints the toolbar is hitting. This should be possible by looking at incoming requests to the api where the ?queryReferrer=devtoolbar url query param is set.

The purpose of these metrics/analytics would be to:

With this kind of backend logging we'd be able to make a trade-off: no user-specific logging, but it's also not something users can opt-out of. We want to observe the infra and load.

So we should aim to create some charts like:

It would also be cool to have stats about the orgs that are using the toolbar. So like a table with columns: "org_slug, # of users total, # toolbar users, # issues, # issues resvoled" So that we can start to learn about how the toolbar can be more helpful. This might not need to be on a dashboard, more like a one-off (or something we query every month) kind of query.

aliu39 commented 1 week ago

@ryan953 could you link the sample dashboards/charts we were looking at?

Update: nvm, I remembered they're Hydration Errors, Rage Clicks, and Replays Search in redash. If there's other good examples lmk.

ryan953 commented 1 day ago

Lets throw up a dashboard with some of these numbers, then close this puppy afterwards.