Update sentry DSN to self hosted

This commit is contained in:
ta264 2019-12-23 20:17:58 +00:00 committed by Qstick
parent 415006badc
commit c53aed4cbf
3 changed files with 7 additions and 6 deletions

View File

@ -253,8 +253,9 @@ stages:
displayName: Publish Sentry Source Maps
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/aphrodite'))
env:
SENTRY_AUTH_TOKEN: $(sentryAuthToken)
SENTRY_AUTH_TOKEN: $(sentryAuthTokenSelfHosted)
SENTRY_ORG: $(sentryOrg)
SENTRY_URL: https://sentry.radarr.video
- stage: Unit_Test
displayName: Unit Tests

View File

@ -80,8 +80,8 @@ export default function createSentryMiddleware() {
return;
}
const dsn = isProduction ? 'https://cf0559cfe5c84ccfae3d907daef1b6bb@sentry.io/1523530' :
'https://df167d10dc51480b9e4f22e4e77c7315@sentry.io/1523531';
const dsn = isProduction ? 'https://f4833ba136384acfafc92ddfd1c7bbc9@sentry.radarr.video/4' :
'https://019aef70678c484da8a43fe218690300@sentry.radarr.video/7';
sentry.init({
dsn,

View File

@ -67,14 +67,14 @@ namespace NzbDrone.Common.Instrumentation
if (updateClient)
{
dsn = "https://89744ec1d2a14a36856f601bdf78e69f@sentry.io/1523535";
dsn = "https://379d628d45ba475a98d2e55675d14a02@sentry.radarr.video/5";
}
else
{
dsn = RuntimeInfo.IsProduction
? "https://ef61083de8e54a8cb81b63fee479c4ee@sentry.io/1485284"
: "https://e4e7bfd3cc0e45a4814613a096c79cc3@sentry.io/1523529";
? "https://cc1ac16546314ed0845256c54d8306d8@sentry.radarr.video/3"
: "https://8de711a75cbd43d08202f4207758bd19@sentry.radarr.video/6";
}
var target = new SentryTarget(dsn)