included glitchtip/sentry
This commit is contained in:
@ -56,13 +56,46 @@ import GlobCoolLightBox from 'vuejs/components/Content/GlobCoolLightBox'
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
// import 'vue-cool-lightbox/dist/vue-cool-lightbox.min.css'
|
||||
import 'slim-select/slimselect.min.css'
|
||||
|
||||
import 'theme/assets/styles/main.scss'
|
||||
import 'theme/assets/styles/print.scss'
|
||||
|
||||
import MA from 'vuejs/api/ma-axios'
|
||||
|
||||
import * as Sentry from '@sentry/browser'
|
||||
import * as VueSentry from '@sentry/vue'
|
||||
|
||||
Sentry.init({
|
||||
dsn: 'https://7c0e73518188407d9d1f1b1f1f87d457@frontlog.figli.io/3',
|
||||
// release: "",
|
||||
integrations: [
|
||||
Sentry.browserTracingIntegration()
|
||||
// Sentry.replayIntegration(),
|
||||
],
|
||||
tracesSampleRate: 1.0
|
||||
// Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
|
||||
// tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
|
||||
// // Capture Replay for 10% of all sessions,
|
||||
// // plus for 100% of sessions with an error
|
||||
// // Learn more at
|
||||
// // https://docs.sentry.io/platforms/javascript/session-replay/configuration/#general-integration-configuration
|
||||
// replaysSessionSampleRate: 0.1,
|
||||
// replaysOnErrorSampleRate: 1.0,
|
||||
})
|
||||
|
||||
// setTimeout(() => {
|
||||
// throw new Error('Sentry Test Error')
|
||||
// })
|
||||
|
||||
VueSentry.init({
|
||||
Vue,
|
||||
dsn: 'https://7c0e73518188407d9d1f1b1f1f87d457@frontlog.figli.io/3',
|
||||
integrations: [
|
||||
]
|
||||
// Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
|
||||
// tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
|
||||
})
|
||||
|
||||
export let _v_sitebranding_block, _v_user_block, _v_header_menu, _v_language_switcher,
|
||||
_v_pagetitle_block, _v_search_block,
|
||||
_v_main_content, _v_left_content,
|
||||
|
Reference in New Issue
Block a user