Update sentry DSN to self hosted

pull/1689/head
ta264 5 years ago committed by Qstick
parent 92d0b4f931
commit c4df49b0fb

@ -11,7 +11,7 @@ variables:
minorVersion: $[counter('minorVersion', 1076)] minorVersion: $[counter('minorVersion', 1076)]
lidarrVersion: '$(majorVersion).$(minorVersion)' lidarrVersion: '$(majorVersion).$(minorVersion)'
buildName: '$(Build.SourceBranchName).$(lidarrVersion)' buildName: '$(Build.SourceBranchName).$(lidarrVersion)'
sentryOrg: 'lidarr' sentryOrg: 'radarr'
dotnetVersion: '3.1.100' dotnetVersion: '3.1.100'
trigger: trigger:
@ -262,8 +262,9 @@ stages:
and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
) )
env: env:
SENTRY_AUTH_TOKEN: $(sentryAuthToken) SENTRY_AUTH_TOKEN: $(sentryAuthTokenSelfHosted)
SENTRY_ORG: $(sentryOrg) SENTRY_ORG: $(sentryOrg)
SENTRY_URL: https://sentry.radarr.video
- stage: Unit_Test - stage: Unit_Test
displayName: Unit Tests displayName: Unit Tests

@ -80,8 +80,8 @@ export default function createSentryMiddleware() {
return; return;
} }
const dsn = isProduction ? 'https://c3a5b33e08de4e18b7d0505e942dbc95@sentry.io/216290' : const dsn = isProduction ? 'https://3639f9e2e2ae4872846b1c30d3122106@sentry.radarr.video/12' :
'https://baede6f14da54cf48ff431479e400adf@sentry.io/1249427'; 'https://099b1f21a5794acebd3160859035bda7@sentry.radarr.video/14';
sentry.init({ sentry.init({
dsn, dsn,

@ -66,13 +66,13 @@ namespace NzbDrone.Common.Instrumentation
if (updateClient) if (updateClient)
{ {
dsn = "https://2f3cc03453e4453bb3c1dd3ff77b15ab@sentry.io/1339335"; dsn = "https://b2fea06c1a9648819fda54e919039223@sentry.radarr.video/15";
} }
else else
{ {
dsn = RuntimeInfo.IsProduction dsn = RuntimeInfo.IsProduction
? "https://f607fb34f89745f9bfe5ded0a97ab00a@sentry.io/209545" ? "https://4e35724359dc4cee9b7e4df07d1897d2@sentry.radarr.video/11"
: "https://28faaa7023384031b29e38d3be74fa11@sentry.io/227247"; : "https://13816615dc654302b0cd6de81fa8567a@sentry.radarr.video/13";
} }
var target = new SentryTarget(dsn) var target = new SentryTarget(dsn)

Loading…
Cancel
Save