monkey-front-core 0.0.561 → 0.0.562
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +14 -1
- package/fesm2015/monkey-front-core.mjs +13 -0
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +13 -0
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.562.tgz +0 -0
- package/package.json +2 -1
- package/monkey-front-core-0.0.561.tgz +0 -0
|
@@ -25,6 +25,7 @@ import { __decorate } from 'tslib';
|
|
|
25
25
|
import esCL from '@angular/common/locales/es-CL';
|
|
26
26
|
import esMX from '@angular/common/locales/es-MX';
|
|
27
27
|
import ptBr from '@angular/common/locales/pt';
|
|
28
|
+
import { datadogLogs } from '@datadog/browser-logs';
|
|
28
29
|
import { datadogRum } from '@datadog/browser-rum';
|
|
29
30
|
import * as i1$4 from '@angular/service-worker';
|
|
30
31
|
import { ServiceWorkerModule } from '@angular/service-worker';
|
|
@@ -3926,6 +3927,18 @@ class MonkeyEcxLogsConfigService {
|
|
|
3926
3927
|
defaultPrivacyLevel: 'mask-user-input'
|
|
3927
3928
|
});
|
|
3928
3929
|
datadogRum.startSessionReplayRecording();
|
|
3930
|
+
datadogLogs.init({
|
|
3931
|
+
clientToken: environment?.dataDogClientToken,
|
|
3932
|
+
service: program?.token,
|
|
3933
|
+
site: 'datadoghq.com',
|
|
3934
|
+
env: `monkey-front-${identifyCode}-${environment.environment}`,
|
|
3935
|
+
version: configBootstrap?.version,
|
|
3936
|
+
trackSessionAcrossSubdomains: true,
|
|
3937
|
+
useSecureSessionCookie: true,
|
|
3938
|
+
forwardErrorsToLogs: true,
|
|
3939
|
+
sessionSampleRate: 100,
|
|
3940
|
+
forwardConsoleLogs: 'all'
|
|
3941
|
+
});
|
|
3929
3942
|
this.allSet = true;
|
|
3930
3943
|
}
|
|
3931
3944
|
this.applyInfoToDataDog(environment);
|