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 @@ -9,7 +9,7 @@ import AppErrorBoundary from 'fxa-react/components/AppErrorBoundary';
99import AppLocalizationProvider from 'fxa-react/lib/AppLocalizationProvider' ;
1010import { ApolloClient , createHttpLink , InMemoryCache } from '@apollo/client' ;
1111import { setContext } from '@apollo/client/link/context' ;
12- import sentryMetrics from 'fxa- shared/sentry/ browser' ;
12+ import { initSentry } from '@ fxa/ shared/sentry- browser' ;
1313import { config , readConfigFromMeta , getExtraHeaders } from './lib/config' ;
1414import App from './App' ;
1515import './styles/tailwind.out.css' ;
@@ -34,12 +34,15 @@ try {
3434 cache : new InMemoryCache ( ) ,
3535 } ) ;
3636
37- sentryMetrics . configure ( {
38- release : config . version ,
39- sentry : {
40- ...config . sentry ,
37+ initSentry (
38+ {
39+ release : config . version ,
40+ sentry : {
41+ ...config . sentry ,
42+ } ,
4143 } ,
42- } ) ;
44+ console
45+ ) ;
4346
4447 const root = createRoot ( document . getElementById ( 'root' ) ! ) ;
4548
You can’t perform that action at this time.
0 commit comments