File tree Expand file tree Collapse file tree 7 files changed +2
-162
lines changed Expand file tree Collapse file tree 7 files changed +2
-162
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,8 @@ export function initializeApplication() {
4444 } ) ;
4545 }
4646
47- const { enabled, ...newRelicConfig } = environment . newRelic ;
48-
49- if ( enabled ) {
50- new BrowserAgent ( newRelicConfig ) ;
47+ if ( environment . newRelic ?. enabled ) {
48+ new BrowserAgent ( environment . newRelic ) ;
5149 }
5250 } ;
5351}
Original file line number Diff line number Diff line change @@ -56,27 +56,4 @@ export const environment = {
5656 defaultProvider : 'osf' ,
5757 dataciteTrackerRepoId : null ,
5858 dataciteTrackerAddress : 'https://analytics.datacite.org/api/metric' ,
59- newRelic : {
60- enabled : false ,
61- init : {
62- distributed_tracing : { enabled : true } ,
63- performance : { capture_measures : true } ,
64- privacy : { cookies_enabled : true } ,
65- ajax : { deny_list : [ 'bam.nr-data.net' ] } ,
66- } ,
67- info : {
68- beacon : 'bam.nr-data.net' ,
69- errorBeacon : 'bam.nr-data.net' ,
70- licenseKey : '704513e63b' ,
71- applicationID : '1835137194' ,
72- sa : 1 ,
73- } ,
74- loader_config : {
75- accountID : '772413' ,
76- trustKey : '772413' ,
77- agentID : '1835137194' ,
78- licenseKey : '704513e63b' ,
79- applicationID : '1835137194' ,
80- } ,
81- } ,
8259} ;
Original file line number Diff line number Diff line change @@ -13,31 +13,4 @@ export const environment = {
1313 defaultProvider : 'osf' ,
1414 dataciteTrackerRepoId : null ,
1515 dataciteTrackerAddress : 'https://analytics.datacite.org/api/metric' ,
16- newRelic : {
17- enabled : false ,
18- init : {
19- distributed_tracing : { enabled : false } ,
20- performance : { capture_measures : false } ,
21- privacy : { cookies_enabled : true } ,
22- ajax : { deny_list : [ 'bam.nr-data.net' ] } ,
23- } ,
24- info : {
25- beacon : 'bam.nr-data.net' ,
26- errorBeacon : 'bam.nr-data.net' ,
27- licenseKey : '704513e63b' ,
28- applicationID : '1835137194' ,
29- sa : 1 ,
30- } ,
31- loader_config : {
32- accountID : '772413' ,
33- trustKey : '772413' ,
34- agentID : '1835137194' ,
35- licenseKey : '704513e63b' ,
36- applicationID : '1835137194' ,
37- } ,
38- } ,
39- sentryDsn : '' ,
40- googleTagManagerId : '' ,
41- googleFilePickerApiKey : '' ,
42- googleFilePickerAppId : 0 ,
4316} ;
Original file line number Diff line number Diff line change @@ -56,31 +56,4 @@ export const environment = {
5656 defaultProvider : 'osf' ,
5757 dataciteTrackerRepoId : null ,
5858 dataciteTrackerAddress : 'https://analytics.datacite.org/api/metric' ,
59- newRelic : {
60- enabled : true ,
61- init : {
62- distributed_tracing : { enabled : true } ,
63- performance : { capture_measures : true } ,
64- privacy : { cookies_enabled : true } ,
65- ajax : { deny_list : [ 'bam.nr-data.net' ] } ,
66- } ,
67- info : {
68- beacon : 'bam.nr-data.net' ,
69- errorBeacon : 'bam.nr-data.net' ,
70- licenseKey : '704513e63b' ,
71- applicationID : '1835137194' ,
72- sa : 1 ,
73- } ,
74- loader_config : {
75- accountID : '772413' ,
76- trustKey : '772413' ,
77- agentID : '1835137194' ,
78- licenseKey : '704513e63b' ,
79- applicationID : '1835137194' ,
80- } ,
81- } ,
82- sentryDsn : '' ,
83- googleTagManagerId : '' ,
84- googleFilePickerApiKey : '' ,
85- googleFilePickerAppId : 0 ,
8659} ;
Original file line number Diff line number Diff line change @@ -16,31 +16,4 @@ export const environment = {
1616 defaultProvider : 'osf' ,
1717 dataciteTrackerRepoId : null ,
1818 dataciteTrackerAddress : 'https://analytics.datacite.org/api/metric' ,
19- newRelic : {
20- enabled : false ,
21- init : {
22- distributed_tracing : { enabled : false } ,
23- performance : { capture_measures : false } ,
24- privacy : { cookies_enabled : true } ,
25- ajax : { deny_list : [ 'bam.nr-data.net' ] } ,
26- } ,
27- info : {
28- beacon : 'bam.nr-data.net' ,
29- errorBeacon : 'bam.nr-data.net' ,
30- licenseKey : '704513e63b' ,
31- applicationID : '1835137194' ,
32- sa : 1 ,
33- } ,
34- loader_config : {
35- accountID : '772413' ,
36- trustKey : '772413' ,
37- agentID : '1835137194' ,
38- licenseKey : '704513e63b' ,
39- applicationID : '1835137194' ,
40- } ,
41- } ,
42- sentryDsn : '' ,
43- googleTagManagerId : '' ,
44- googleFilePickerApiKey : '' ,
45- googleFilePickerAppId : 0 ,
4619} ;
Original file line number Diff line number Diff line change @@ -16,31 +16,4 @@ export const environment = {
1616 defaultProvider : 'osf' ,
1717 dataciteTrackerRepoId : null ,
1818 dataciteTrackerAddress : 'https://analytics.datacite.org/api/metric' ,
19- newRelic : {
20- enabled : false ,
21- init : {
22- distributed_tracing : { enabled : false } ,
23- performance : { capture_measures : false } ,
24- privacy : { cookies_enabled : true } ,
25- ajax : { deny_list : [ 'bam.nr-data.net' ] } ,
26- } ,
27- info : {
28- beacon : 'bam.nr-data.net' ,
29- errorBeacon : 'bam.nr-data.net' ,
30- licenseKey : '704513e63b' ,
31- applicationID : '1835137194' ,
32- sa : 1 ,
33- } ,
34- loader_config : {
35- accountID : '772413' ,
36- trustKey : '772413' ,
37- agentID : '1835137194' ,
38- licenseKey : '704513e63b' ,
39- applicationID : '1835137194' ,
40- } ,
41- } ,
42- sentryDsn : '' ,
43- googleTagManagerId : '' ,
44- googleFilePickerApiKey : '' ,
45- googleFilePickerAppId : 0 ,
4619} ;
Original file line number Diff line number Diff line change @@ -56,31 +56,4 @@ export const environment = {
5656 defaultProvider : 'osf' ,
5757 dataciteTrackerRepoId : null ,
5858 dataciteTrackerAddress : 'https://analytics.datacite.org/api/metric' ,
59- newRelic : {
60- enabled : true ,
61- init : {
62- distributed_tracing : { enabled : true } ,
63- performance : { capture_measures : true } ,
64- privacy : { cookies_enabled : true } ,
65- ajax : { deny_list : [ 'bam.nr-data.net' ] } ,
66- } ,
67- info : {
68- beacon : 'bam.nr-data.net' ,
69- errorBeacon : 'bam.nr-data.net' ,
70- licenseKey : '704513e63b' ,
71- applicationID : '1835137194' ,
72- sa : 1 ,
73- } ,
74- loader_config : {
75- accountID : '772413' ,
76- trustKey : '772413' ,
77- agentID : '1835137194' ,
78- licenseKey : '704513e63b' ,
79- applicationID : '1835137194' ,
80- } ,
81- } ,
82- sentryDsn : '' ,
83- googleTagManagerId : '' ,
84- googleFilePickerApiKey : '' ,
85- googleFilePickerAppId : 0 ,
8659} ;
You can’t perform that action at this time.
0 commit comments