hbz / lobid

Linking Open Bibliographic Data
https://lobid.org/
Eclipse Public License 2.0
16 stars 4 forks source link

Gather usage information #394

Closed acka47 closed 5 years ago

acka47 commented 5 years ago

Questions we need to answer for lobid-gnd and preferably the other two lobid services:

We should first take a deeper lool at the logs, I will provide the indicators for API vs. bulk vs. openrefine later. Furthermore, we should consider setting up a very short poll.

acka47 commented 5 years ago

@dr0i, as I am not able to get this information from Matomo, can you please extract it from the logs directly? For all stats, please use the six months from 2018-08-01 to 2019-01-31.

lobid-resources

lobid-gnd

lobid-organisations

acka47 commented 5 years ago

@fsteeg, please take a quick look whether i have forgotten anything.

fsteeg commented 5 years ago

Looks good, just two points:

other rdf formats: GET requests containing .rdf, .ttl, .nt

This works for all 3 services.

OpenRefine reconciliation: GET requests with path /gnd/reconcile

OpenRefine does indeed send a GET to that route to get the service metadata. However I think this is cached until the service in removed in OpenRefine. So this would indicate something like the unique users (without the non-OpenRefine users like coli-conc), not the number or frequency of usage. The actual reconciliation requests are POSTed to that route. This should include usage like in coli-conc.

acka47 commented 5 years ago

THanks, @fsteeg. I updated https://github.com/hbz/lobid/issues/394#issuecomment-460613271 accordingly. Assigning @dr0i .

dr0i commented 5 years ago

Note that we don't log header in general. Et al no Accept-Header.

dr0i commented 5 years ago

@acka47 I added the numbers into your comment. See a note from me: the patterns you gave are just grepped by (so they may be complemented by whatever), and mind that we also don't log POSTs.

acka47 commented 5 years ago

To get a feeling for the geographic distribution, here are the cities in the date range from 2018-08-01 to 2019-01-31 we had at least 100 visits from:

Frankfurt/Main Berlin Wien Kiel Leipzig Dortmund Hannover Hamburg Tübingen Braunschweig Graz Basel Marburg Dresden Stuttgart Mainz Starnberg Ashburn Winterthur Pinneberg

acka47 commented 5 years ago

According to Matomo, nearly 200 .preview URLs were requested in /gnd from 2018-08-01 to 2019-01-31.

acka47 commented 5 years ago

Closing this one. However, we should think about also logging POSTs to the /reconcile endpoint.