We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4113333 commit 62b19e5Copy full SHA for 62b19e5
src/sentry/static/sentry/app/bootstrap.jsx
@@ -44,12 +44,6 @@ Sentry.configureScope(scope => {
44
if (window.__SENTRY__VERSION) {
45
scope.setTag('sentry_version', window.__SENTRY__VERSION);
46
}
47
- scope.setSpan(
48
- Sentry.getCurrentHub().startSpan({
49
- op: 'pageload',
50
- sampled: true,
51
- })
52
- );
53
});
54
55
// Used for operational metrics to determine that the application js
@@ -78,6 +72,14 @@ if (
78
72
(config.urlPrefix &&
79
73
(config.urlPrefix.includes('localhost') || config.urlPrefix.includes('127.0.0.1'))))
80
74
) {
75
+ Sentry.configureScope(scope => {
76
+ scope.setSpan(
77
+ Sentry.getCurrentHub().startSpan({
+ op: 'pageload',
+ sampled: true,
+ })
81
+ );
82
+ });
83
startApm();
84
85
// -----------------------------------------------------------------
0 commit comments