UNPKG

@texagon/nestjs-health

Version:

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

10 lines (9 loc) 414 B
import { NestMiddleware } from "@nestjs/common"; import { Request, Response, NextFunction } from "express"; import { MetricsService } from "./metrics.service"; export declare class RequestLoggerMiddleware implements NestMiddleware { private readonly metricsService; private readonly logger; constructor(metricsService: MetricsService); use(req: Request, res: Response, next: NextFunction): void; }