nestjs-status-monitor icon indicating copy to clipboard operation
nestjs-status-monitor copied to clipboard

Custom-logic health check?

Open akatsukilevi opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Currently, health checks are limited to a web request that is done via axios. The current implementation does not allow to, for example, health check the database or a microservice communication.

Describe the solution you'd like A logic that allows to supply a function or something that would allow for custom health checks.

Describe alternatives you've considered I've considered exposing a controller on the API to reply for DB, Queue, Caching service, etc are up. Yet I think it could be unsafe on such way.

Additional context Running on NestJS 7.5.1(I need to update XP)

akatsukilevi avatar Aug 19 '21 12:08 akatsukilevi