#User and usage related data in custom dashboard

10 messages · Page 1 of 1 (latest)

glad zephyr
#

Hi, I'm currently exploring the dashboard feature because we wanted to extract some useful data out of sentry related to user counts and usage time:

  1. Numbers of users by usage time percentile
  2. Users by application
  3. Users that used multiple applications
  4. Regular users. Usage over multiple days

I've managed to do the item number 2 on the list by counting unique user email in transactions but I cannot figure out a way to do the other items.
Is that something that is even possible to do with sentry dashboards?

rocky gorge
#

number one will not be possible, we do not a "usage time" information in Sentry.

#

3 and 4 are also complicated

#

you could look for events in multiple sentry projects (normally each project is one app) that contain the same user email, but i dont see a way to put it nicely in a dashboard

#

4 has the same issue, you can look for events from a user and if there are events in multiple days, but it wont be nicelly shown for all users

#

those metrics are not something sentry is focused on

glad zephyr
#

Hi @rocky gorge Thanks for your reply!

I managed to do 3 by using the Sentry API and multiple queries (total users for each app, total users for all and then a simple equation to get multi app users) then using that in a custom frontend app.

But yeah like you said, I understand that's not the focus of Sentry. I read though that there was a custom metrics feature and that it's potentially being (re)worked on. Would it help with that kind of thing?

frozen raft
#

@glad zephyr Please see this discussion: https://github.com/getsentry/sentry/discussions/81239

If you are able to add the necessary attributes to your spans like user count, user id, device etc then you can aggregate these

GitHub

A few months ago we made the difficult decision to not release our generic Metrics solution which was in Beta. We understand this has been frustrating for many users, but after thorough evaluation,...

glad zephyr
#

Nice, thanks @frozen raft, I'll have a look!

frozen raft
#

We're releasing this to all early adopter customers within a couple of days so you just need to toggle the early adopter flag in your Org's general settings