import otelSDK from './tracing' ; import { NestFactory } from '@nestjs/core' ; import { AppModule } from './app.module' ; import { Logger } from 'nestjs-pino' ; async function bootstrap ( ) { await otelSDK . start ( ) ; const app = await NestFactory . create ( AppModule ) ; app . useLogger ( app . get ( Logger ) ) ; await app . listen ( 5555 ) ; } bootstrap ( ) ;