RNAcentral/rnacentral-sequence-search

Monitor errors and performance

AntonPetrov opened this issue · 3 comments

We need to be able to see how well the new search performs and react when the pipeline is slow or when there are errors. Here are some initial ideas:

  • Show the number of searches on the dashboard (all searches, searches today and this week)
  • Show average search time (all time, today, this week)
  • Regularly run a specific search or check search results using nagios, UptimeRobot, or a custom script
  • Figure out how to maintain the information between when the infrastructure is recreated and the postgres database is wiped
  • Log errors to a Slack channel

Just as an example, the old search had this dashboard: https://rnacentral.org/sequence-search/dashboard although the graph is not very useful

One could either add this information to the dashboard interface in this repo (for example, http://193.62.55.44:8002/dashboard) or create a new dashboard in the rnacentral-webcode repository. Let's discuss both options.

Done!