apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 35 forks source link

Show statistics for API failures/uptime #1021

Open bajiat opened 8 years ago

bajiat commented 8 years ago

User story

As an Apinf user I want to see the percentage of failures/uptime (failure = timeout, bad gateway, internal server error like 5xx status code) for a given API backend

Definition of done

  • [ ] The API status is checked on regular intervals (every 60 minutes)
  • [ ] The history data is logged
  • [ ] The percentage of uptime is available for display for API catalog view
  • [ ] Owner can access the failure logs through analytics view

Related task for API Catalog: #1022

philippeluickx commented 8 years ago

Should we only take the historical data into account from our own pings (the monitoring of every 60 mins)? Or do we also use the requests sent by users?

We also need to be careful with the "normal" analytics. Should these hourly pings be included in the data shown to the dashboard? If not, how can we filter it out?

bajiat commented 8 years ago

Should the failure logs be in analytics or in tabbed API view as its own tab?