ukwa / ukwa-monitor

Dashboard and monitoring system for the UK Web Archive
0 stars 5 forks source link

Stats Pusher to support array responses #19

Open anjackson opened 4 years ago

anjackson commented 4 years ago

The JSON configuration of the stats pusher does not currently support responses that contain arrays. e.g. we could also query the CDX indexes directly (both crawl-time and access-time), like this:

http://cdx.api.wa.bl.uk/data-heritrix?sort=reverse&output=jsondict&limit=1&url=https://www.bl.uk/robots.txt

However, this returns an array, not a dictionary, and wa_stats can't be configured to deal with that.