Skip to content

Commit

Permalink
update sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
arranf committed Jun 27, 2021
1 parent 15d77d4 commit 5f06710
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"dependencies": {
"@feathersjs/client": "^4.5.11",
"@sentry/browser": "^6.7.2",
"@sentry/tracing": "^6.7.2",
"@sentry/vue": "^6.7.2",
"@vue/composition-api": "^1.0.0-rc.2",
"core-js": "^3.6.5",
"feathers-hooks-common": "^5.0.5",
Expand Down
10 changes: 8 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import App from "@/components/skeleton/AppContainer";
import router from "./router";
import store from "./store/";
import "@/api/feathers-client";
import * as Sentry from "@sentry/browser";

import * as Sentry from "@sentry/vue";
import { Integrations } from "@sentry/tracing";

import "./plugins/vuetify";

Expand All @@ -20,7 +22,11 @@ Vue.config.performance = !isProduction;
if (isProduction) {
Sentry.init({
dsn: "https://[email protected]/1329415",
integrations: [new Sentry.Integrations.Vue({ Vue })],
integrations: [new Integrations.BrowserTracing()],

// We recommend adjusting this value in production, or using tracesSampler
// for finer control
tracesSampleRate: 1.0,
});
}

Expand Down
25 changes: 24 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@
dependencies:
any-observable "^0.3.0"

"@sentry/browser@^6.7.2":
"@sentry/[email protected]":
version "6.7.2"
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-6.7.2.tgz#cfbe060de5a9694617f175a6bde469e5e266792e"
integrity sha512-Lv0Ne1QcesyGAhVcQDfQa3hDPR/MhPSDTMg3xFi+LxqztchVc4w/ynzR0wCZFb8KIHpTj5SpJHfxpDhXYMtS9g==
Expand Down Expand Up @@ -1347,6 +1347,17 @@
"@sentry/types" "6.7.2"
tslib "^1.9.3"

"@sentry/tracing@^6.7.2":
version "6.7.2"
resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-6.7.2.tgz#78a6934837143ae5e200b49bd256bc8a917477bc"
integrity sha512-juKlI7FICKONWJFJxDxerj0A+8mNRhmtrdR+OXFqOkqSAy/QXlSFZcA/j//O19k2CfwK1BrvoMcQ/4gnffUOVg==
dependencies:
"@sentry/hub" "6.7.2"
"@sentry/minimal" "6.7.2"
"@sentry/types" "6.7.2"
"@sentry/utils" "6.7.2"
tslib "^1.9.3"

"@sentry/[email protected]":
version "6.7.2"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-6.7.2.tgz#8108272c98ad7784ddf9ddda0b7bdc6880ed6e50"
Expand All @@ -1360,6 +1371,18 @@
"@sentry/types" "6.7.2"
tslib "^1.9.3"

"@sentry/vue@^6.7.2":
version "6.7.2"
resolved "https://registry.yarnpkg.com/@sentry/vue/-/vue-6.7.2.tgz#34bb3147ff24c75427d23479344e953c2e372093"
integrity sha512-o7l8SJHwg7X61tITopkOE5Z6DEzpe/uCS1ViL6Ytc5XN3McX+VCkNVkfD3HGkNetm/xShdjBZ4OfuAgwWUfLNA==
dependencies:
"@sentry/browser" "6.7.2"
"@sentry/core" "6.7.2"
"@sentry/minimal" "6.7.2"
"@sentry/types" "6.7.2"
"@sentry/utils" "6.7.2"
tslib "^1.9.3"

"@soda/friendly-errors-webpack-plugin@^1.7.1":
version "1.8.0"
resolved "https://registry.yarnpkg.com/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.8.0.tgz#84751d82a93019d5c92c0cf0e45ac59087cd2240"
Expand Down

0 comments on commit 5f06710

Please sign in to comment.