Closed DS-INRAE closed 8 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?
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 :)
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-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:
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 :
https://$SERVER/api/info/metrics/accounts
count
whose value is the accounts' total count. Ex.{"status":"OK","data":{"count":13}}
$YYYY-DD
in YYYY-MM format (e.g.2018-01
):https://$SERVER/api/info/metrics/accounts/toMonth/$YYYY-DD
count
whose value is the accounts' total count. Ex.{"status":"OK","data":{"count":13}}
$days
(e.g.30
):https://$SERVER/api/info/metrics/accounts/pastDays/$days
count
whose value is the accounts' total count. Ex.{"status":"OK","data":{"count":3}}
https://$SERVER/api/info/metrics/accounts/monthly
Any open or closed issues related to this feature request?