IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
882 stars 493 forks source link

API Metrics : add user accounts number #10177

Closed DS-INRAE closed 8 months ago

DS-INRAE commented 11 months ago

Overview of the Feature Request Add an API Metrics type for total number of user accounts?

What kind of user is the feature intended for? (Example users roles: API User, Curator, Depositor, Guest, Superuser, Sysadmin) In order to allow display of this metric as in this issue :

Any brand new behavior do you want to add to Dataverse? Add the new metric to the API, as per other metrics :

Any open or closed issues related to this feature request?

pdurbin commented 11 months ago

@DS-INRA I've wanted this for a long time. Thanks for creating this issue!

I'm not sure if you've looked at the authenticateduser table lately: https://guides.dataverse.org/en/5.14/schemaspy/tables/authenticateduser.html

We might want to consider fields such as:

Basically, what I'm getting at is that if we want to get fancier, we could say things like:

Also, does your team plan to work on this?

DS-INRAE commented 11 months ago

It would be very helpful to have active users too indeed, I'm still thinking about what parameter would be best for this use case though, my guess is pastDays because the timeframe for "active" might vary between installations. On our side we would also be interested in the various account types number but I didn't mention it here to keep the issue focused on the first step. As per a contribution on our side, we have not scheduled it yet but we'll likely be proposing a PR for this in 2024 in order to unlock the other issue on dv-metrics we planned to do, I'll add a comment when confirmed :)

pdurbin commented 5 months ago

It would be very helpful to have active users too indeed

@DS-INRA are you still interested in counting active users somehow? Have you considered creating an issue for this?

DS-INRAE commented 5 months ago

@DS-INRA are you still interested in counting active users somehow? Have you considered creating an issue for this?

It would still be interesting but we would like to discuss with our collection administrators the need, we have a meeting on the metrics topic on July 5th, so there will be more news at that time :smiley: