mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
clean up sentry stuff, fix all of my quota being used 💀
This commit is contained in:
+1
-6
@@ -756,14 +756,9 @@ function main(storedSetting: SettingsState) {
|
|||||||
if (storedSetting.telemetry && storedSetting.onoff) {
|
if (storedSetting.telemetry && storedSetting.onoff) {
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: "https://54bdb68e80b45182ded22ecf9fe9529c@o4506347383291904.ingest.sentry.io/4506347462393856",
|
dsn: "https://54bdb68e80b45182ded22ecf9fe9529c@o4506347383291904.ingest.sentry.io/4506347462393856",
|
||||||
integrations: [
|
integrations: [Sentry.browserTracingIntegration()],
|
||||||
Sentry.replayIntegration(),
|
|
||||||
],
|
|
||||||
// Performance Monitoring
|
// Performance Monitoring
|
||||||
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
||||||
// Session Replay
|
|
||||||
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
|
|
||||||
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-8
@@ -6,17 +6,10 @@ browser.storage.local.get([ "telemetry" ]).then((telemetry) => {
|
|||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: "https://54bdb68e80b45182ded22ecf9fe9529c@o4506347383291904.ingest.sentry.io/4506347462393856",
|
dsn: "https://54bdb68e80b45182ded22ecf9fe9529c@o4506347383291904.ingest.sentry.io/4506347462393856",
|
||||||
integrations: [
|
integrations: [
|
||||||
new Sentry.BrowserTracing({
|
Sentry.browserTracingIntegration()
|
||||||
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
|
|
||||||
tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
|
|
||||||
}),
|
|
||||||
new Sentry.Replay(),
|
|
||||||
],
|
],
|
||||||
// Performance Monitoring
|
// Performance Monitoring
|
||||||
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
||||||
// Session Replay
|
|
||||||
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
|
|
||||||
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -14,17 +14,10 @@ browser.storage.local.get([ "telemetry" ]).then((telemetry) => {
|
|||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: "https://4bc7197431b170218e15daba4095d08b@o4506347383291904.ingest.sentry.io/4506347394105344",
|
dsn: "https://4bc7197431b170218e15daba4095d08b@o4506347383291904.ingest.sentry.io/4506347394105344",
|
||||||
integrations: [
|
integrations: [
|
||||||
new Sentry.BrowserTracing({
|
Sentry.browserTracingIntegration()
|
||||||
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
|
|
||||||
tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
|
|
||||||
}),
|
|
||||||
new Sentry.Replay(),
|
|
||||||
],
|
],
|
||||||
// Performance Monitoring
|
// Performance Monitoring
|
||||||
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
||||||
// Session Replay
|
|
||||||
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
|
|
||||||
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
|
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user