From e82166f2c7d97773d2bfc358e33c0c7fcec9b78d Mon Sep 17 00:00:00 2001 From: "rodrigo.zamboni" Date: Fri, 1 Jul 2022 16:30:41 -0300 Subject: [PATCH] FIX: fix Capital letter service name --- src/clients/pipelines/client.service.ts | 5 +---- src/main.ts | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/clients/pipelines/client.service.ts b/src/clients/pipelines/client.service.ts index 1326ddb..8ae6369 100644 --- a/src/clients/pipelines/client.service.ts +++ b/src/clients/pipelines/client.service.ts @@ -5,10 +5,7 @@ import { OnModuleInit, } from '@nestjs/common'; import { ClientGrpc, Payload } from '@nestjs/microservices'; -import { - PipelineServicesNames, - PipelinesServiceInterface, -} from 'protospack'; +import { PipelineServicesNames, PipelinesServiceInterface } from 'protospack'; import { lastValueFrom } from 'rxjs'; import { objectCamelToSnake, diff --git a/src/main.ts b/src/main.ts index 2291813..cee2b3d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -11,7 +11,7 @@ import { AppModule } from './app.module'; async function bootstrap() { DadosferaLogger.setupLogger({ - serviceName: 'Maestro', + serviceName: 'maestro', serviceEnvironment: process.env.ENV, }); @@ -31,7 +31,7 @@ async function bootstrap() { Object.assign(apm, { logger }); apm.start({ - serviceName: 'Maestro', + 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 });