16 lines
447 B
TypeScript
16 lines
447 B
TypeScript
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 {}
|