mirror of
https://github.com/dadosfera/maestro.git
synced 2026-12-02 08:40:04 +00:00
UPDATE: Prepared Maestro for APM
This commit is contained in:
+3
-5
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user