metrics api vs metrics in home page

41 views
Skip to first unread message

Alfredo Cosco

unread,
Jan 9, 2025, 5:24:21 AMJan 9
to Dataverse Users Community
Hi all,

I'm having trouble with tracking downloads on a site using DV. If I look at the widget on the homepage, I see, for example, 377,125 downloads. However, if I query the API:

/api/info/metrics/downloads

I get: 378,204.

This is a significant discrepancy.

It seems the homepage widget isn't showing real-time data. Is this possible?

Thanks
Alfredo

James Myers

unread,
Jan 9, 2025, 6:34:31 AMJan 9
to dataverse...@googlegroups.com

Yes, it is an approximation that is much faster to calculate. See #8840 and #8972 for details and how it can be improved.

 

-- Jim

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dataverse-community/d925b582-421b-487d-a6e2-7a91c33faa86n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages