UNPKG

@texagon/nestjs-health

Version:

A comprehensive health monitoring package for NestJS applications with metrics and Kubernetes-ready health checks

16 lines (15 loc) 582 B
import { MiddlewareConsumer, NestModule, DynamicModule } from "@nestjs/common"; export declare const MODULE_OPTIONS_TOKEN = "HEALTH_MODULE_OPTIONS"; export interface HealthModuleOptions { enableMemoryMonitoring?: boolean; enableDiskMonitoring?: boolean; diskPath?: string; diskThresholdPercent?: number; routePrefix?: string; passwordProtected?: boolean; password?: string; } export declare class HealthModule implements NestModule { static register(options?: HealthModuleOptions): DynamicModule; configure(consumer: MiddlewareConsumer): void; }