sentry integration for vue
This commit is contained in:
		
							
								
								
									
										20
									
								
								resources/assets/js/mixins/global.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								resources/assets/js/mixins/global.js
									
									
									
									
										vendored
									
									
								
							| @@ -38,6 +38,26 @@ import GLightbox from 'glightbox'; | ||||
|  | ||||
| Swiper.use([Navigation, Pagination]); | ||||
|  | ||||
| //sentry integration | ||||
| import * as Sentry from "@sentry/vue"; | ||||
| import { BrowserTracing } from "@sentry/tracing"; | ||||
|  | ||||
| Sentry.init({ | ||||
|     Vue, | ||||
|     dsn: "https://9ffc5a5f104d4087911f60714e8bdbe9@o4503982427078656.ingest.sentry.io/4503999793594368", | ||||
|     logErrors: true, | ||||
|     integrations: [ | ||||
|         new BrowserTracing({ | ||||
|             tracingOrigins: [], | ||||
|         }), | ||||
|     ], | ||||
|     // Set tracesSampleRate to 1.0 to capture 100% | ||||
|     // of transactions for performance monitoring. | ||||
|     // We recommend adjusting this value in production | ||||
|     tracesSampleRate: 1.0, | ||||
| }); | ||||
| //sentry integration | ||||
|  | ||||
| export default { | ||||
|     components: { | ||||
|         AkauntingDropzoneFileUpload, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user