autosleep icon indicating copy to clipboard operation
autosleep copied to clipboard

Autosleep and healthcheck endpoints

Open omearaj opened this issue 7 years ago • 1 comments

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.

omearaj avatar Oct 23 '17 18:10 omearaj

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.

gberche-orange avatar Oct 25 '17 07:10 gberche-orange