Skip to content
Snippets Groups Projects
Commit 94b61eea authored by xaralis's avatar xaralis
Browse files

feat: sentry perf tracing

parent d9319471
No related branches found
No related tags found
No related merge requests found
...@@ -1464,6 +1464,17 @@ ...@@ -1464,6 +1464,17 @@
"tslib": "^1.9.3" "tslib": "^1.9.3"
} }
}, },
"@sentry/integrations": {
"version": "5.29.2",
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-5.29.2.tgz",
"integrity": "sha512-bH50B0xubbHrJFq8xZRxOc5BgXe1PXKfC0OqQkhhSd+Bu2WDLCHcn0CEzV+8thZTYkipAoFAFJNdEWcsM2Wcew==",
"requires": {
"@sentry/types": "5.29.2",
"@sentry/utils": "5.29.2",
"localforage": "1.8.1",
"tslib": "^1.9.3"
}
},
"@sentry/minimal": { "@sentry/minimal": {
"version": "5.29.2", "version": "5.29.2",
"resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.29.2.tgz", "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.29.2.tgz",
...@@ -1487,6 +1498,18 @@ ...@@ -1487,6 +1498,18 @@
"tslib": "^1.9.3" "tslib": "^1.9.3"
} }
}, },
"@sentry/tracing": {
"version": "5.29.2",
"resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-5.29.2.tgz",
"integrity": "sha512-iumYbVRpvoU3BUuIooxibydeaOOjl5ysc+mzsqhRs2NGW/C3uKAsFXdvyNfqt3bxtRQwJEhwJByLP2u3pLThpw==",
"requires": {
"@sentry/hub": "5.29.2",
"@sentry/minimal": "5.29.2",
"@sentry/types": "5.29.2",
"@sentry/utils": "5.29.2",
"tslib": "^1.9.3"
}
},
"@sentry/types": { "@sentry/types": {
"version": "5.29.2", "version": "5.29.2",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.29.2.tgz", "resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.29.2.tgz",
...@@ -7153,6 +7176,11 @@ ...@@ -7153,6 +7176,11 @@
"resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
"integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==" "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg=="
}, },
"immediate": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
"integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps="
},
"immer": { "immer": {
"version": "7.0.15", "version": "7.0.15",
"resolved": "https://registry.npmjs.org/immer/-/immer-7.0.15.tgz", "resolved": "https://registry.npmjs.org/immer/-/immer-7.0.15.tgz",
...@@ -8492,6 +8520,14 @@ ...@@ -8492,6 +8520,14 @@
"type-check": "~0.3.2" "type-check": "~0.3.2"
} }
}, },
"lie": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz",
"integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=",
"requires": {
"immediate": "~3.0.5"
}
},
"lines-and-columns": { "lines-and-columns": {
"version": "1.1.6", "version": "1.1.6",
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",
...@@ -8584,6 +8620,14 @@ ...@@ -8584,6 +8620,14 @@
} }
} }
}, },
"localforage": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/localforage/-/localforage-1.8.1.tgz",
"integrity": "sha512-azSSJJfc7h4bVpi0PGi+SmLQKJl2/8NErI+LhJsrORNikMZnhaQ7rv9fHj+ofwgSHrKRlsDCL/639a6nECIKuQ==",
"requires": {
"lie": "3.1.1"
}
},
"locate-path": { "locate-path": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
......
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta property="og:url" content="https://cf2021.pirati.cz/" /> <meta property="og:url" content="https://cf2021.pirati.cz/" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:title" content="CF 2021" /> <meta property="og:title" content="CF 2021 | Pirátská strana" />
<meta property="og:image" content="/img/og.png" /> <meta property="og:image" content="https://cf2021.pirati.cz/img/og.png" />
<meta property="og:description" content="Oficiální stránka letošního ročníku Celostátního fóra České pirátské strany." /> <meta property="og:description" content="Oficiální stránka letošního ročníku on-line zasedání Celostátního fóra České pirátské strany, 9. 1. 2021." />
<meta name="description" content="Oficiální stránka letošního ročníku Celostátního fóra České pirátské strany." /> <meta name="description" content="Oficiální stránka letošního ročníku on-line zasedání Celostátního fóra České pirátské strany, 9. 1. 2021." />
<title>CF 2021 | Pirátská strana</title> <title>CF 2021 | Pirátská strana</title>
<!-- <!--
......
...@@ -2,7 +2,9 @@ import React, { Suspense } from "react"; ...@@ -2,7 +2,9 @@ import React, { Suspense } from "react";
import { Helmet, HelmetProvider } from "react-helmet-async"; import { Helmet, HelmetProvider } from "react-helmet-async";
import { BrowserRouter as Router, Route, Switch } from "react-router-dom"; import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import { KeycloakProvider } from "@react-keycloak/web"; import { KeycloakProvider } from "@react-keycloak/web";
import { ExtraErrorData } from "@sentry/integrations/dist/extraerrordata";
import * as Sentry from "@sentry/react"; import * as Sentry from "@sentry/react";
import { Integrations } from "@sentry/tracing";
import { loadConfig } from "actions/global-info"; import { loadConfig } from "actions/global-info";
import { loadMe } from "actions/users"; import { loadMe } from "actions/users";
...@@ -26,6 +28,7 @@ if (process.env.REACT_APP_SENTRY_DSN) { ...@@ -26,6 +28,7 @@ if (process.env.REACT_APP_SENTRY_DSN) {
Sentry.init({ Sentry.init({
dsn: process.env.REACT_APP_SENTRY_DSN, dsn: process.env.REACT_APP_SENTRY_DSN,
tracesSampleRate: 0.1, tracesSampleRate: 0.1,
integrations: [new ExtraErrorData(), new Integrations.BrowserTracing()],
}); });
} }
...@@ -93,7 +96,7 @@ const BaseApp = () => { ...@@ -93,7 +96,7 @@ const BaseApp = () => {
name="description" name="description"
content="Oficiální stránka letošního ročníku on-line zasedání Celostátního fóra České pirátské strany, 9. 1. 2021." content="Oficiální stránka letošního ročníku on-line zasedání Celostátního fóra České pirátské strany, 9. 1. 2021."
/> />
<meta property="og:title" content="CF 2021" /> <meta property="og:title" content="CF 2021 | Pirátská strana" />
<meta <meta
property="og:description" property="og:description"
content="Oficiální stránka letošního ročníku on-line zasedání Celostátního fóra České pirátské strany, 9. 1. 2021." content="Oficiální stránka letošního ročníku on-line zasedání Celostátního fóra České pirátské strany, 9. 1. 2021."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment