From bd691f4a1f17cc2ddc9608ce98d7445e465db4f0 Mon Sep 17 00:00:00 2001 From: Julien Schneider Date: Tue, 30 Jan 2024 14:16:14 +0100 Subject: [PATCH] fix: no faro setup in local --- libs/vre/shared/app-analytics/src/lib/grafana-faro.service.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/vre/shared/app-analytics/src/lib/grafana-faro.service.ts b/libs/vre/shared/app-analytics/src/lib/grafana-faro.service.ts index 727abd79fd..a12f6afc2f 100644 --- a/libs/vre/shared/app-analytics/src/lib/grafana-faro.service.ts +++ b/libs/vre/shared/app-analytics/src/lib/grafana-faro.service.ts @@ -9,6 +9,10 @@ export class GrafanaFaroService { constructor(private readonly _appConfig: AppConfigService) {} setup() { + if (this._appConfig.dspInstrumentationConfig.environment === 'local-dev') { + return; + } + this.faro = initializeFaro({ url: 'https://faro-collector-prod-eu-west-2.grafana.net/collect/66166d1b81448a1cca47cde470d9ec98', app: {