Compare commits
7 Commits
master
...
sentry-fro
| Author | SHA1 | Date |
|---|---|---|
|
|
129fc86891 | 4 years ago |
|
|
4a393aa8e5 | 4 years ago |
|
|
a36af1d5e9 | 4 years ago |
|
|
d14c265ae2 | 4 years ago |
|
|
1f25f81aaa | 4 years ago |
|
|
3f79ee75d3 | 4 years ago |
|
|
5dc9d0fb33 | 4 years ago |
@ -0,0 +1,18 @@
|
|||||||
|
import * as Sentry from "@sentry/react";
|
||||||
|
import { Integrations } from "@sentry/tracing";
|
||||||
|
|
||||||
|
const container = document.getElementById('stats-react-container')
|
||||||
|
|
||||||
|
Sentry.init({
|
||||||
|
dsn: container.dataset.sentryDsn,
|
||||||
|
environment: container.dataset.environment,
|
||||||
|
integrations: [new Integrations.BrowserTracing()],
|
||||||
|
release: container.dataset.sentryRelease || "unknown",
|
||||||
|
initialScope: {
|
||||||
|
tags: {
|
||||||
|
'app_version': container.dataset.sentryRelease,
|
||||||
|
'origin': 'dashboard'
|
||||||
|
},
|
||||||
|
},
|
||||||
|
tracesSampleRate: 0.5,
|
||||||
|
});
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue