From c4df49b0fb2b1c360799aa53795be1f1088bbc07 Mon Sep 17 00:00:00 2001 From: ta264 Date: Mon, 23 Dec 2019 20:17:58 +0000 Subject: [PATCH] Update sentry DSN to self hosted --- azure-pipelines.yml | 5 +++-- frontend/src/Store/Middleware/createSentryMiddleware.js | 4 ++-- src/NzbDrone.Common/Instrumentation/NzbDroneLogger.cs | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d59fe59cf..b0eea4b25 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,7 @@ variables: minorVersion: $[counter('minorVersion', 1076)] lidarrVersion: '$(majorVersion).$(minorVersion)' buildName: '$(Build.SourceBranchName).$(lidarrVersion)' - sentryOrg: 'lidarr' + sentryOrg: 'radarr' dotnetVersion: '3.1.100' trigger: @@ -262,8 +262,9 @@ stages: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) ) env: - SENTRY_AUTH_TOKEN: $(sentryAuthToken) + SENTRY_AUTH_TOKEN: $(sentryAuthTokenSelfHosted) SENTRY_ORG: $(sentryOrg) + SENTRY_URL: https://sentry.radarr.video - stage: Unit_Test displayName: Unit Tests diff --git a/frontend/src/Store/Middleware/createSentryMiddleware.js b/frontend/src/Store/Middleware/createSentryMiddleware.js index 24a51d1a4..c9fad5979 100644 --- a/frontend/src/Store/Middleware/createSentryMiddleware.js +++ b/frontend/src/Store/Middleware/createSentryMiddleware.js @@ -80,8 +80,8 @@ export default function createSentryMiddleware() { return; } - const dsn = isProduction ? 'https://c3a5b33e08de4e18b7d0505e942dbc95@sentry.io/216290' : - 'https://baede6f14da54cf48ff431479e400adf@sentry.io/1249427'; + const dsn = isProduction ? 'https://3639f9e2e2ae4872846b1c30d3122106@sentry.radarr.video/12' : + 'https://099b1f21a5794acebd3160859035bda7@sentry.radarr.video/14'; sentry.init({ dsn, diff --git a/src/NzbDrone.Common/Instrumentation/NzbDroneLogger.cs b/src/NzbDrone.Common/Instrumentation/NzbDroneLogger.cs index c4c6a3bd6..a50db1f13 100644 --- a/src/NzbDrone.Common/Instrumentation/NzbDroneLogger.cs +++ b/src/NzbDrone.Common/Instrumentation/NzbDroneLogger.cs @@ -66,13 +66,13 @@ namespace NzbDrone.Common.Instrumentation if (updateClient) { - dsn = "https://2f3cc03453e4453bb3c1dd3ff77b15ab@sentry.io/1339335"; + dsn = "https://b2fea06c1a9648819fda54e919039223@sentry.radarr.video/15"; } else { dsn = RuntimeInfo.IsProduction - ? "https://f607fb34f89745f9bfe5ded0a97ab00a@sentry.io/209545" - : "https://28faaa7023384031b29e38d3be74fa11@sentry.io/227247"; + ? "https://4e35724359dc4cee9b7e4df07d1897d2@sentry.radarr.video/11" + : "https://13816615dc654302b0cd6de81fa8567a@sentry.radarr.video/13"; } var target = new SentryTarget(dsn)