mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-05 07:09:09 +00:00
FIX: Kibana Transactions working
This commit is contained in:
+1
-7
@@ -1,6 +1,6 @@
|
||||
import 'elastic-apm-node/start';
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
|
||||
import apm from 'elastic-apm-node';
|
||||
import { writeFileSync } from 'fs';
|
||||
import helmet from 'helmet';
|
||||
import { DadosferaLogger } from 'dadosfera-logs';
|
||||
@@ -28,12 +28,6 @@ async function bootstrap() {
|
||||
}
|
||||
};
|
||||
|
||||
Object.assign(apm, { logger });
|
||||
|
||||
if (process.env.ENV != 'local') {
|
||||
apm.start({});
|
||||
}
|
||||
|
||||
const app = await NestFactory.create(AppModule, {
|
||||
logger: logger,
|
||||
cors: {
|
||||
|
||||
Reference in New Issue
Block a user