fixing warnings and updating snapshots

This commit is contained in:
Drew Taylor
2021-07-22 10:30:38 -07:00
parent 856364370f
commit eb22be3763
7 changed files with 343 additions and 340 deletions

View File

@@ -6,24 +6,24 @@ const clientToken = 'pubeb25449bb91773fc993855c7378e375a';
const site = 'datadoghq.com';
const service = 'ota-portal';
// datadogRum.init({
// applicationId,
// clientToken,
// site,
// service,
// // Specify a version number to identify the deployed version of your application in Datadog
// // version: '1.0.0',
// sampleRate: 100,
// trackInteractions: true
// });
datadogRum.init({
applicationId,
clientToken,
site,
service,
// Specify a version number to identify the deployed version of your application in Datadog
// version: '1.0.0',
sampleRate: 100,
trackInteractions: true
});
// datadogLogs.init({
// clientToken,
// site,
// service,
// forwardErrorsToLogs: true,
// sampleRate: 100,
// });
datadogLogs.init({
clientToken,
site,
service,
forwardErrorsToLogs: true,
sampleRate: 100,
});
const logger = datadogLogs.logger;