Closed Flouse closed 7 months ago
Using upptime we need to consider:
I added /healthcheck
on the feat/healthcheck branch to perform health checks and return status.
It can be viewed by visiting: https://btc-assets-api-healthcheck.vercel.app/healthcheck.
And created an upptime example: https://github.com/ahonn/upptime, used the above /healthcheck
to obtain the status of dependent services and applications. But here it is through a single API, so Response Time
has no meaning.
I'm not sure if we need to split different services or application status into separate APIs, such as /healthcheck/electrs
, /healthcheck/queue
?
I'm not sure if we need to split different services or application status into separate APIs, such as
/healthcheck/electrs
,/healthcheck/queue
?
I think one API is good enough.
Example
References