diff --git a/src/main.ts b/src/main.ts index feb1a92f4..e6a638250 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,6 +12,8 @@ import { createPinia } from 'pinia' import { createApp } from 'vue' import VueVirtualScroller from 'vue-virtual-scroller' +import { app_version } from '@/libs/cosmos' + import App from './App.vue' import vuetify from './plugins/vuetify' import { loadFonts } from './plugins/webfontloader' @@ -30,6 +32,7 @@ if (window.localStorage.getItem('cockpit-enable-usage-statistics-telemetry') && Sentry.init({ app, dsn: 'https://d7329dcf760fa1cc9fa6c7a5f16f60a1@o4507696465707008.ingest.us.sentry.io/4507762984222720', + release: app_version.version, integrations: [Sentry.browserTracingIntegration(), Sentry.replayIntegration()], sampleRate: 1.0, // Capture all errors tracesSampleRate: 1.0, // Capture all traces