Add dinosaur wet metrics

This commit is contained in:
2023-10-16 17:52:02 -06:00
parent deb257b2fe
commit 295b217539
6 changed files with 108 additions and 38 deletions

View File

@@ -13,6 +13,7 @@ import { IrcbotModule } from './ircbot/ircbot.module';
import { IrcbotService } from './ircbot/ircbot.service';
import { DinosaurwetModule } from './dinosaurwet/dinosaurwet.module';
import { OgScraperModule } from './ogscraper/ogscraper.module';
import { PrometheusModule } from '@willsoto/nestjs-prometheus';
@Module({
imports: [
@@ -20,6 +21,11 @@ import { OgScraperModule } from './ogscraper/ogscraper.module';
isGlobal: true,
load: [configuration],
}),
PrometheusModule.register({
defaultLabels: {
app: 'us.dev api',
},
}),
CacheModule.register({ isGlobal: true }),
ParkioModule,
IswordModule,