autosleep
autosleep copied to clipboard
Autosleep and healthcheck endpoints
Hi,
Is it possible to provide a healthcheck endpoint to be excluded for determining traffic to an application. Ideally we'd like to define a health check for our load balancer on /healthcheck every minute and exclude this request from the auto sleep criteria.
Hi @omearaj thanks for this great suggestion. Autosleep does not yet support excluding some HTTP requests when computing idle duration, or when handling incoming request in the autowake up support.
This would indeed be quite useful. We'd welcome such a contribution. Please get in touch so that we can define specs for this feature together.