File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import convict from 'convict';
66import fs from 'fs' ;
77import path from 'path' ;
88import { GuardConfig } from '@fxa/shared/guards' ;
9- import { tracingConfig } from 'fxa- shared/tracing/config ' ;
9+ import { tracingConfig } from '@ fxa/ shared/otel ' ;
1010
1111convict . addFormats ( require ( 'convict-format-with-moment' ) ) ;
1212convict . addFormats ( require ( 'convict-format-with-validator' ) ) ;
Original file line number Diff line number Diff line change 44
55import Config from '../config' ;
66import mozLog from 'mozlog' ;
7- import { initMonitoring } from 'fxa- shared/monitoring' ;
7+ import { initMonitoring } from '@ fxa/ shared/monitoring' ;
88import { version } from '../../package.json' ;
99
1010const config = Config . getProperties ( ) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import React from 'react';
66import { createRoot } from 'react-dom/client' ;
77import AppErrorBoundary from 'fxa-react/components/AppErrorBoundary' ;
88import AppLocalizationProvider from 'fxa-react/lib/AppLocalizationProvider' ;
9- import sentryMetrics from 'fxa- shared/sentry/ browser' ;
9+ import { initSentry } from '@ fxa/ shared/sentry- browser' ;
1010import { config , readConfigFromMeta } from './lib/config' ;
1111import App from './App' ;
1212import './styles/tailwind.out.css' ;
@@ -15,12 +15,15 @@ try {
1515 // Watch out! This mutates the config. Make sure it gets run first!
1616 readConfigFromMeta ( headQuerySelector ) ;
1717
18- sentryMetrics . configure ( {
19- release : config . version ,
20- sentry : {
21- ...config . sentry ,
18+ initSentry (
19+ {
20+ release : config . version ,
21+ sentry : {
22+ ...config . sentry ,
23+ } ,
2224 } ,
23- } ) ;
25+ console
26+ ) ;
2427
2528 const root = createRoot ( document . getElementById ( 'root' ) ! ) ;
2629
You can’t perform that action at this time.
0 commit comments