UPDATE: Prepared Maestro for APM

This commit is contained in:
rodrigo.zamboni
2022-07-01 17:53:15 -03:00
parent bb5cf0494d
commit 0d20b4dcab
4 changed files with 11 additions and 13 deletions
+3 -5
View File
@@ -30,11 +30,9 @@ async function bootstrap() {
Object.assign(apm, { logger });
apm.start({
serviceName: 'maestro',
disableSend: true, // This disables sending payloads to APM Server
centralConfig: false, // This disables periodic requests to the APM Server to fetch updated configuration
});
if (process.env.ENV != 'local') {
apm.start({});
}
const app = await NestFactory.create(AppModule, {
logger: logger,