I manage a webservice and it is very important for my company to detect and notify if any of the services is down, and also if any of the operations it does is taking too long to respond. Until now there was a separated web application (including front and backend) just to request random operations to those endpoints every 15 minutes, but I found it convoluted as it requires maintaing a whole webapp just for this prupose, and I know many free web services out that should do the job.
I've set up AWS Healthchecks for replacing the polling webapp and works perfect for the uptime part, now my question comes with the response time part.
All those API healthcheck services seem to be prepared for not very complex requests so, should be responsability of the API to offer a "status" endpoint for the healthcheck services and include in that "OK" stuff like database latency or should be the "healthchecker" the one reponsible of performing complex requests? What approach is more correct?
Thanks!