IATI/IATI-Datastore

Display the current health of the datastore

Closed this issue · 1 comments

It would be useful if http://datastore.iatistandard.org/api/1/about (or another route) gave more details about the last crawler run e.g. when it happened and what happened. The ok=True and status='healthy' that are output at the moment are just hardcoded:

return jsonify(
ok=True,
status='healthy',
indexed_activities=count_activity,
indexed_transactions=count_transaction,
)

This issue also makes it hard to diagnose the problem behind #268