SonarQ test on PR #1
15
src/app.module.ts
Normal file
15
src/app.module.ts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import { Module } from '@nestjs/common';
|
||||||
|
import { TerminusModule } from '@nestjs/terminus';
|
||||||
|
import { PrometheusModule } from '@willsoto/nestjs-prometheus';
|
||||||
|
import { ItemsModule } from './items/items.module';
|
||||||
|
import { HealthController } from './health.controller';
|
||||||
|
|
||||||
|
@Module({
|
||||||
|
imports: [
|
||||||
|
TerminusModule,
|
||||||
|
PrometheusModule.register({ path: '/metrics' }),
|
||||||
|
ItemsModule,
|
||||||
|
],
|
||||||
|
controllers: [HealthController],
|
||||||
|
})
|
||||||
|
export class AppModule {}
|
||||||
Reference in New Issue
Block a user