Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Orbit
Manage
Activity
Members
Labels
Plan
Issues
97
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Applications
Orbit
Commits
2c539947
Commit
2c539947
authored
4 years ago
by
Jean-Baptiste Pasquier
Browse files
Options
Downloads
Patches
Plain Diff
cicd: fix sentry integration
parent
a356e010
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!219
minor: form feedbacks
Pipeline
#7922
passed with stages
in 3 minutes and 29 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/sentry.js
+8
-7
8 additions, 7 deletions
src/components/sentry.js
src/dependencies.pug
+1
-1
1 addition, 1 deletion
src/dependencies.pug
with
9 additions
and
8 deletions
src/components/sentry.js
+
8
−
7
View file @
2c539947
Sentry
.
init
({
dsn
:
'
https://b4b29557689049a39168599577adb940@sentry.startinblox.com/4
'
,
integrations
:
[
new
Sentry
.
Integrations
.
BrowserTracing
()],
environment
:
document
.
location
.
hostname
,
tracesSampleRate
:
1.0
,
});
\ No newline at end of file
if
(
typeof
Sentry
!==
'
undefined
'
)
{
Sentry
.
init
({
dsn
:
'
https://b4b29557689049a39168599577adb940@sentry.startinblox.com/4
'
,
integrations
:
[
new
Sentry
.
Integrations
.
BrowserTracing
()],
environment
:
document
.
location
.
hostname
,
tracesSampleRate
:
1.0
,
});
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/dependencies.pug
+
1
−
1
View file @
2c539947
script(src="https://browser.sentry-cdn.com/5.2
4.2
/bundle.tracing.min.js"
integrity="sha384-Epltozh7S1cJM2hcIRDJBbqiiVpZsNlFCciHxKIAfKN8mSTa+gMivtz7glp/30Mz" crossorigin="anonymous"
defer)
script(src="https://browser.sentry-cdn.com/5.2
5.0
/bundle.tracing.min.js" defer)
script(type="module" src="/components/sentry.js" defer)
script(type="module" src="/components/hubl-search-users.js" defer)
script(type="module" src="/components/hubl-status.js" defer)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment