feat: healthcheck for external services (#4048)
* chore: installed terminus package and scaffolded the health module * feat: added healthcheck for database with prisma * chore: renamed label from prisma to database in health check route * chore: reverted target of hopp-old-backend service to prod
This commit is contained in:
@@ -26,6 +26,7 @@ import { loadInfraConfiguration } from './infra-config/helper';
|
||||
import { MailerModule } from './mailer/mailer.module';
|
||||
import { PosthogModule } from './posthog/posthog.module';
|
||||
import { ScheduleModule } from '@nestjs/schedule';
|
||||
import { HealthModule } from './health/health.module';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -100,6 +101,7 @@ import { ScheduleModule } from '@nestjs/schedule';
|
||||
InfraConfigModule,
|
||||
PosthogModule,
|
||||
ScheduleModule.forRoot(),
|
||||
HealthModule,
|
||||
],
|
||||
providers: [GQLComplexityPlugin],
|
||||
controllers: [AppController],
|
||||
|
||||
Reference in New Issue
Block a user