mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: sentry: add tags
This commit is contained in:
2 files changed
+8
-6
No files matched your search
@@ -47,9 +47,11 @@ if (process.env.NODE_ENV === 'production' && !UiContext.sentry_disable) {
|
||||
],
|
||||
tracesSampleRate: 0.1,
|
||||
tracePropagationTargets: ['localhost', /^\//, window.location.host],
|
||||
replaysSessionSampleRate: 0.03,
|
||||
replaysOnErrorSampleRate: 1.0,
|
||||
replaysSessionSampleRate: 0.01,
|
||||
replaysOnErrorSampleRate: 0.2,
|
||||
});
|
||||
Sentry.setTag('host', window.location.host);
|
||||
Sentry.setTag('page_name', document.documentElement.getAttribute('data-page'));
|
||||
}
|
||||
try { __webpack_public_path__ = UiContext.cdn_prefix; } catch (e) { }
|
||||
if ('serviceWorker' in navigator) {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"@fontsource/source-code-pro": "^5.0.18",
|
||||
"@fontsource/ubuntu-mono": "^5.0.20",
|
||||
"@hydrooj/utils": "workspace:^",
|
||||
"@sentry/browser": "^8.17.0",
|
||||
"@sentry/browser": "^8.19.0",
|
||||
"@sentry/webpack-plugin": "^2.21.1",
|
||||
"@simplewebauthn/browser": "7.4.0",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
@@ -61,7 +61,7 @@
|
||||
"echarts": "^5.5.1",
|
||||
"emojis-keywords": "2.0.0",
|
||||
"emojis-list": "2.1.0",
|
||||
"esbuild-loader": "^4.2.1",
|
||||
"esbuild-loader": "^4.2.2",
|
||||
"fancy-log": "^2.0.0",
|
||||
"flatpickr": "^4.6.13",
|
||||
"graphiql": "^2.4.7",
|
||||
@@ -76,7 +76,7 @@
|
||||
"jquery.easing": "^1.4.1",
|
||||
"jquery.transit": "^0.9.12",
|
||||
"matchmedia-polyfill": "^0.3.2",
|
||||
"md-editor-rt": "^4.17.3",
|
||||
"md-editor-rt": "^4.17.4",
|
||||
"mini-css-extract-plugin": "^2.9.0",
|
||||
"moment": "^2.30.1",
|
||||
"monaco-editor": "0.50.0",
|
||||
@@ -133,7 +133,7 @@
|
||||
"dependencies": {
|
||||
"ansi_up": "^6.0.2",
|
||||
"cssfilter": "^0.0.10",
|
||||
"esbuild": "0.21.4",
|
||||
"esbuild": "0.23.0",
|
||||
"fs-extra": "^11.2.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
"jsesc": "^3.0.2",
|
||||
|
||||
Reference in new issue
Block a user