nestjs-status-monitor
nestjs-status-monitor copied to clipboard
Custom-logic health check?
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)