notshi/d-preview

Add stats

Closed this issue · 7 comments

Add a page to monitor usage - like: https://iati.cove.opendataservices.coop/stats/

Importantly, this should NOT provide any access to the underlying previews

Hi, @stevieflow just letting you know we are currently working on this and it will take a few days.

There should be some stats here now https://notshi.github.io/d-preview/

Really interesting - thanks!

I'm guessing these will continue to accumulate, over time - and then segment by month, or something (shall we just watch this space..?)

Also - would we want / be able to put these at d-preview.codeforiati.org/stats ..?

xriss commented

It is dumping out a json file and building that page direct from the data.

Just take a look at the source for the html and it should be reasonably obvious what is going on with the display generated from daily values using a bit of simple javascript.

You can easily arrange and republish the data any where you want, you can either get it from that url using github pages or from the stats branch of the github code.

https://github.com/notshi/d-preview/tree/stats

Have added nightly stats similar to the table for CoVE.

@notshi - thanks

Would it be possible to put a link to the stats https://notshi.github.io/d-preview/ from the d-preview "homepage"? That way, I wont have to navigate back to this ticket each time ;)

Yes, of course! The link should now be on the homepage.