Skip to content

Commit 0985e9f

Browse files
committed
fix: fix metrics endpoint
1 parent 0f9eead commit 0985e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/middlewares/service-unavailable.middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { HttpStatus } from '@nestjs/common';
33
import { FastifyRequest, FastifyReply } from 'fastify';
44
import { NestFastifyApplication } from '@nestjs/platform-fastify';
55

6-
const excludedRoutes = ['/api', '/health'];
6+
const excludedRoutes = ['/api', '/health', '/metrics'];
77

88
export const setupServiceUnavailableMiddleware = (app: NestFastifyApplication, configService: ConfigService) => {
99
app

0 commit comments

Comments
 (0)